22 lines
463 B
JavaScript
22 lines
463 B
JavaScript
import { defineConfig, globalIgnores } from 'eslint/config';
|
|
import nextVitals from 'eslint-config-next/core-web-vitals';
|
|
import jsxA11y from 'eslint-plugin-jsx-a11y';
|
|
|
|
const eslintConfig = defineConfig([
|
|
...nextVitals,
|
|
{
|
|
rules: jsxA11y.configs.recommended.rules,
|
|
},
|
|
globalIgnores([
|
|
'node_modules/**',
|
|
'.next/**',
|
|
'.open-next/**',
|
|
'out/**',
|
|
'build/**',
|
|
'public/**',
|
|
'next-env.d.ts',
|
|
]),
|
|
]);
|
|
|
|
export default eslintConfig;
|