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-explicit-any': 'warn', 'react-hooks/purity': 'off', 'react-hooks/set-state-in-effect': 'off', }, }, globalIgnores(['.next/**', 'out/**', 'build/**', 'next-env.d.ts']), ]);