Files
jobtrackingapp/job-tracker-ui/eslint.config.mjs
T
cesnimda a861ca4275
CI and Deploy / test (push) Failing after 3m11s
CI and Deploy / deploy (push) Has been skipped
fix(deps): patch release-blocking frontend advisories
2026-09-10 00:18:10 +02:00

38 lines
1.1 KiB
JavaScript

import { defineConfig, globalIgnores } from "eslint/config";
import nextVitals from "eslint-config-next/core-web-vitals";
import nextTypeScript from "eslint-config-next/typescript";
export default defineConfig([
...nextVitals,
...nextTypeScript,
{
rules: {
"@typescript-eslint/no-explicit-any": "off",
"react-hooks/set-state-in-effect": "off",
"react-hooks/immutability": "off",
"react-hooks/refs": "off",
"react-hooks/use-memo": "off",
"react-hooks/purity": "off",
"@next/next/no-page-custom-font": "off",
"@next/next/no-img-element": "off",
// React Router owns this static SPA; full navigation also clears private session state.
"@next/next/no-location-assign-relative-destination": "off",
},
},
{
files: ["**/*.test.{ts,tsx}", "e2e/**/*.{ts,tsx}", "src/setupTests.ts"],
rules: {
"@typescript-eslint/no-unused-vars": "off",
"@typescript-eslint/no-require-imports": "off",
"react/display-name": "off",
},
},
globalIgnores([
".next/**",
"out/**",
"build/**",
"coverage/**",
"next-env.d.ts",
]),
]);