import { defineConfig, globalIgnores } from "eslint/config";

// simple extends-based config to avoid iterable errors
const eslintConfig = defineConfig({
  extends: [
    "next/core-web-vitals",
    "next/typescript",
  ],
  ignorePatterns: [
    ".next/**",
    "out/**",
    "build/**",
    "next-env.d.ts",
  ],
});

export default eslintConfig;
