import { defineConfig, globalIgnores } from "eslint/config" import nextVitals from "eslint-config-next/core-web-vitals" const eslintConfig = defineConfig([ ...nextVitals, globalIgnores([ "node_modules/**", ".next/**", "out/**", "build/**", "next-env.d.ts", ".source/**", ]), { rules: { "react-hooks/incompatible-library": "off", "react-hooks/purity": "off", "@next/next/no-html-link-for-pages": "off", "@next/next/no-img-element": "off", "@typescript-eslint/no-unused-vars": "off", }, }, ]) export default eslintConfig