import { defineConfig, globalIgnores } from "eslint/config";
import nextCoreWebVitals from "eslint-config-next/core-web-vitals";
import nextTypescript from "eslint-config-next/typescript";
export default defineConfig([
...nextCoreWebVitals,
...nextTypescript,
{
rules: {
// Existing pages intentionally set local state in effects for data-fetch orchestration.
"react-hooks/set-state-in-effect": "off",
},
},
globalIgnores([
".next/**",
"out/**",
"build/**",
"next-env.d.ts",
]),
]);