17 lines
353 B
JavaScript
17 lines
353 B
JavaScript
|
|
import { defineConfig, globalIgnores } from 'eslint/config';
|
||
|
|
import nextVitals from 'eslint-config-next/core-web-vitals';
|
||
|
|
|
||
|
|
const eslintConfig = defineConfig([
|
||
|
|
...nextVitals,
|
||
|
|
globalIgnores([
|
||
|
|
'.next/**',
|
||
|
|
'node_modules/**',
|
||
|
|
'out/**',
|
||
|
|
'build/**',
|
||
|
|
'next-env.d.ts',
|
||
|
|
'scripts/migrations/**',
|
||
|
|
]),
|
||
|
|
]);
|
||
|
|
|
||
|
|
export default eslintConfig;
|