diff --git a/.eslintrc.cjs b/.eslintrc.cjs index acedbb6..02b4124 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -1,5 +1,5 @@ /** @type {import("eslint").Linter.Config} */ -module.exports = { +const config = { parser: '@typescript-eslint/parser', parserOptions: { project: true, @@ -34,3 +34,5 @@ module.exports = { ], }, }; + +module.exports = config; diff --git a/next.config.js b/next.config.js index 251fdb2..bb92a5b 100644 --- a/next.config.js +++ b/next.config.js @@ -8,4 +8,6 @@ await import('./src/env.js'); const withNextIntl = nextIntl('./src/i18n.ts'); /** @type {import("next").NextConfig} */ -export default withNextIntl({}); +const config = {}; + +export default withNextIntl(config); diff --git a/postcss.config.cjs b/postcss.config.cjs index 12a703d..e305dd9 100644 --- a/postcss.config.cjs +++ b/postcss.config.cjs @@ -1,6 +1,8 @@ -module.exports = { +const config = { plugins: { tailwindcss: {}, autoprefixer: {}, }, }; + +module.exports = config; diff --git a/prettier.config.js b/prettier.config.js index 443af19..c34bef6 100644 --- a/prettier.config.js +++ b/prettier.config.js @@ -1,5 +1,5 @@ /** @type {import('prettier').Config & import('prettier-plugin-tailwindcss').PluginOptions & import("@trivago/prettier-plugin-sort-imports").PluginConfig} */ -export default { +const config = { semi: true, singleQuote: true, tabWidth: 2, @@ -19,3 +19,5 @@ export default { 'prettier-plugin-tailwindcss', ], }; + +export default config; diff --git a/tailwind.config.ts b/tailwind.config.ts index 44fc8ce..e146eac 100644 --- a/tailwind.config.ts +++ b/tailwind.config.ts @@ -1,7 +1,7 @@ import { type Config } from 'tailwindcss'; import { fontFamily } from 'tailwindcss/defaultTheme'; -export default { +const config = { content: ['./src/**/*.tsx'], darkMode: 'class', theme: { @@ -75,3 +75,5 @@ export default { require('tailwind-scrollbar')({ nocompatible: true }), ], } satisfies Config; + +export default config;