16 lines
567 B
JavaScript
16 lines
567 B
JavaScript
|
|
import { defineConfig } from 'eslint/config';
|
||
|
|
import { frontendConfig } from '@n8n/eslint-config/frontend';
|
||
|
|
|
||
|
|
export default defineConfig(frontendConfig, {
|
||
|
|
rules: {
|
||
|
|
// TODO: Remove these
|
||
|
|
'@typescript-eslint/naming-convention': 'warn',
|
||
|
|
'@typescript-eslint/no-empty-object-type': 'warn',
|
||
|
|
'@typescript-eslint/prefer-nullish-coalescing': 'warn',
|
||
|
|
'@typescript-eslint/no-unsafe-member-access': 'warn',
|
||
|
|
'@typescript-eslint/no-unsafe-return': 'warn',
|
||
|
|
'@typescript-eslint/no-unsafe-assignment': 'warn',
|
||
|
|
'@typescript-eslint/no-unsafe-argument': 'warn',
|
||
|
|
},
|
||
|
|
});
|