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, globalIgnores([".next/**", "out/**", "build/**", "next-env.d.ts"]), { rules: { "@typescript-eslint/no-floating-promises": "off", "@typescript-eslint/no-explicit-any": "warn", "react-hooks/exhaustive-deps": "off", "react-hooks/set-state-in-effect": "off" } } ]);