21 lines
527 B
JavaScript
21 lines
527 B
JavaScript
import nextCoreWebVitals from 'eslint-config-next/core-web-vitals';
|
|
import nextTypeScript from 'eslint-config-next/typescript';
|
|
|
|
const eslintConfig = [
|
|
...nextCoreWebVitals,
|
|
...nextTypeScript,
|
|
{
|
|
ignores: ['nul'],
|
|
},
|
|
{
|
|
files: ['**/*.{js,jsx,mjs,cjs,ts,tsx,mts,cts}'],
|
|
rules: {
|
|
'react-hooks/set-state-in-effect': 'off',
|
|
'prefer-const': 'off',
|
|
'@typescript-eslint/no-empty-object-type': 'off',
|
|
'@typescript-eslint/no-explicit-any': 'off',
|
|
},
|
|
},
|
|
];
|
|
|
|
export default eslintConfig;
|