| 1 | import { defineConfig, globalIgnores } from "eslint/config"; |
| 2 | import nextVitals from "eslint-config-next/core-web-vitals"; |
| 3 | import nextTs from "eslint-config-next/typescript"; |
| 4 | |
| 5 | const eslintConfig = defineConfig([ |
| 6 | ...nextVitals, |
| 7 | ...nextTs, |
| 8 | globalIgnores([ |
| 9 | ".next/**", |
| 10 | "out/**", |
| 11 | "build/**", |
| 12 | "next-env.d.ts", |
| 13 | ]), |
| 14 | ]); |
| 15 | |
| 16 | export default eslintConfig; |