20 lines
512 B
JavaScript
20 lines
512 B
JavaScript
import nextConfig from 'eslint-config-next';
|
|
import prettierConfig from 'eslint-config-prettier';
|
|
|
|
const eslintConfig = [
|
|
...nextConfig,
|
|
prettierConfig,
|
|
{
|
|
ignores: ['node_modules/**', '.next/**', 'out/**', 'build/**', 'next-env.d.ts'],
|
|
},
|
|
{
|
|
files: ['**/*.ts', '**/*.tsx'],
|
|
rules: {
|
|
'@typescript-eslint/no-empty-object-type': 'off',
|
|
'@typescript-eslint/no-unused-vars': ['warn', { argsIgnorePattern: '^_', varsIgnorePattern: '^_' }],
|
|
},
|
|
},
|
|
];
|
|
|
|
export default eslintConfig;
|