diff options
Diffstat (limited to 'eslint.config.mjs')
| -rw-r--r-- | eslint.config.mjs | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/eslint.config.mjs b/eslint.config.mjs new file mode 100644 index 0000000..a6b1513 --- /dev/null +++ b/eslint.config.mjs @@ -0,0 +1,23 @@ +import { defineConfig, globalIgnores } from "eslint/config"; +import nextVitals from "eslint-config-next/core-web-vitals"; +import nextTs from "eslint-config-next/typescript"; + +const eslintConfig = defineConfig([ + ...nextVitals, + ...nextTs, + { + rules: { + '@typescript-eslint/no-explicit-any': 'off' + } + }, + // Override default ignores of eslint-config-next. + globalIgnores([ + // Default ignores of eslint-config-next: + ".next/**", + "out/**", + "build/**", + "next-env.d.ts", + ]), +]); + +export default eslintConfig; |
