2026-03-13 13:54:45 +07:00
|
|
|
import { defineConfig, globalIgnores } from 'eslint/config';
|
|
|
|
|
import nextVitals from 'eslint-config-next/core-web-vitals';
|
|
|
|
|
import nextTs from 'eslint-config-next/typescript';
|
2025-12-17 13:16:31 +07:00
|
|
|
|
|
|
|
|
const eslintConfig = defineConfig([
|
|
|
|
|
...nextVitals,
|
|
|
|
|
...nextTs,
|
2026-03-13 13:54:45 +07:00
|
|
|
globalIgnores(['.next/**', 'out/**', 'build/**', 'next-env.d.ts']),
|
2025-12-17 13:16:31 +07:00
|
|
|
]);
|
|
|
|
|
|
|
|
|
|
export default eslintConfig;
|