diff --git a/.eslintrc.cjs b/.eslintrc.cjs index 8d871be..d81a4d4 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -37,7 +37,7 @@ const config = { ], "@next/next/no-img-element": "off", }, - ignorePatterns: ["**/*/_*"], + ignorePatterns: [], }; module.exports = config; diff --git a/.gitignore b/.gitignore index e097cfb..2c7c1fb 100644 --- a/.gitignore +++ b/.gitignore @@ -35,7 +35,7 @@ next-env.d.ts /docs /src/pages/api/legacy/ /**/*/_legacy/ -/**/*/_*/ +# /**/*/_*/ /data /.*/ /src/_app diff --git a/tsconfig.json b/tsconfig.json index 3ff6f73..2687ed6 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -10,6 +10,7 @@ "strict": true, "noUncheckedIndexedAccess": true, "checkJs": true, + "forceConsistentCasingInFileNames": true, "lib": ["dom", "dom.iterable", "es2022"], "noEmit": true, @@ -23,10 +24,19 @@ "baseUrl": ".", "paths": { "~/*": ["./src/*"], - "actions": ["./src/app/actions.ts"], + "actions": ["src/app/actions.ts"], "config": ["./src/config/gIndex.config.ts"] } }, - "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", "**/*.js", ".next/types/**/*.ts"], - "exclude": ["node_modules", ".next", "**/*/_*"] + "include": [ + ".eslintrc.cjs", + "next-env.d.ts", + "**/*.ts", + "**/*.tsx", + "**/*.js", + ".next/types/**/*.ts", + "**/*.cjs", + "**/*.mjs" + ], + "exclude": ["node_modules", ".next"] }