diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..7bf180d --- /dev/null +++ b/.gitignore @@ -0,0 +1,7 @@ +node_modules/ +**/node_modules/ +*.tsbuildinfo +**/*.tsbuildinfo +.next/ +dist/ +coverage/ diff --git a/web/eslint.config.mjs b/web/eslint.config.mjs new file mode 100644 index 0000000..c960292 --- /dev/null +++ b/web/eslint.config.mjs @@ -0,0 +1,24 @@ +import { defineConfig, globalIgnores } from "eslint/config"; +import nextVitals from "eslint-config-next/core-web-vitals"; +import nextTs from "eslint-config-next/typescript"; + +export default defineConfig([ + ...nextVitals, + ...nextTs, + { + rules: { + "@typescript-eslint/no-unused-vars": [ + "warn", + { argsIgnorePattern: "^_", varsIgnorePattern: "^_", caughtErrorsIgnorePattern: "^_" }, + ], + }, + }, + globalIgnores([ + ".next/**", + "out/**", + "build/**", + "coverage/**", + "next-env.d.ts", + "tsconfig.tsbuildinfo", + ]), +]);