2025-11-17 06:20:53 +00:00
|
|
|
import nextCoreWebVitals from "eslint-config-next/core-web-vitals";
|
|
|
|
|
import nextTypescript from "eslint-config-next/typescript";
|
2025-11-13 08:38:25 +00:00
|
|
|
import { dirname } from "path";
|
|
|
|
|
import { fileURLToPath } from "url";
|
|
|
|
|
|
|
|
|
|
const __filename = fileURLToPath(import.meta.url);
|
|
|
|
|
const __dirname = dirname(__filename);
|
|
|
|
|
|
2025-11-17 06:20:53 +00:00
|
|
|
const eslintConfig = [...nextCoreWebVitals, ...nextTypescript, {
|
|
|
|
|
ignores: ["node_modules/**", ".next/**", "out/**", "build/**", "next-env.d.ts"]
|
|
|
|
|
}];
|
2025-11-13 08:38:25 +00:00
|
|
|
|
|
|
|
|
export default eslintConfig;
|