diff --git a/.eslintignore b/.eslintignore deleted file mode 100644 index f92fa62..0000000 --- a/.eslintignore +++ /dev/null @@ -1,6 +0,0 @@ -.eslintrc.js -*.config.js -build - -# Next.js build folder -.next diff --git a/.eslintrc.cjs b/.eslintrc.cjs deleted file mode 100644 index 6ee35d9..0000000 --- a/.eslintrc.cjs +++ /dev/null @@ -1,6 +0,0 @@ -/** @type {import('@typescript-eslint/utils').TSESLint.Linter.Config} */ -const config = { - extends: ['upleveled'], -}; - -module.exports = config; diff --git a/eslint.config.js b/eslint.config.js new file mode 100644 index 0000000..3697aa9 --- /dev/null +++ b/eslint.config.js @@ -0,0 +1 @@ +export { default } from 'eslint-config-upleveled'; diff --git a/prettier.config.cjs b/prettier.config.mjs similarity index 50% rename from prettier.config.cjs rename to prettier.config.mjs index 6bb39e2..e68e6b5 100644 --- a/prettier.config.cjs +++ b/prettier.config.mjs @@ -1,7 +1,7 @@ -/** @type {import('prettier').Config} */ +/** @type {import('prettier').Options} */ const config = { singleQuote: true, trailingComma: 'all', }; -module.exports = config; +export default config; diff --git a/tsconfig.json b/tsconfig.json index 9604fb6..354d18f 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -8,7 +8,6 @@ "checkJs": true }, "include": [ - "**/.eslintrc.cjs", "**/*.ts", "**/*.tsx", "**/*.js",