mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-16 09:36:44 +00:00
29 lines
784 B
JavaScript
29 lines
784 B
JavaScript
import { defineConfig } from 'eslint/config';
|
|
import { baseConfig } from '@n8n/eslint-config/base';
|
|
|
|
export default defineConfig(
|
|
baseConfig,
|
|
{
|
|
rules: {
|
|
'unicorn/filename-case': ['error', { case: 'kebabCase' }],
|
|
|
|
// TODO: Remove this
|
|
'@typescript-eslint/require-await': 'warn',
|
|
'@typescript-eslint/no-unsafe-call': 'warn',
|
|
'@typescript-eslint/naming-convention': 'warn',
|
|
'@typescript-eslint/no-base-to-string': 'warn',
|
|
'@typescript-eslint/no-unsafe-function-type': 'warn',
|
|
'import-x/export': 'warn',
|
|
},
|
|
},
|
|
{
|
|
files: ['**/*.test.ts'],
|
|
rules: {
|
|
'@typescript-eslint/no-unused-expressions': 'warn',
|
|
'@typescript-eslint/no-unsafe-assignment': 'warn',
|
|
'@typescript-eslint/unbound-method': 'warn',
|
|
'import-x/no-duplicates': 'warn',
|
|
},
|
|
},
|
|
);
|