mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-16 01:26:44 +00:00
23 lines
534 B
JavaScript
23 lines
534 B
JavaScript
import { defineConfig, globalIgnores } from 'eslint/config';
|
|
import { nodeConfig } from '@n8n/eslint-config/node';
|
|
|
|
export default defineConfig(
|
|
nodeConfig,
|
|
globalIgnores(['scenarios/**', 'scripts/**']),
|
|
{
|
|
rules: {
|
|
'unicorn/filename-case': ['error', { case: 'kebabCase' }],
|
|
'n8n-local-rules/no-plain-errors': 'off',
|
|
complexity: 'error',
|
|
'@typescript-eslint/naming-convention': 'warn',
|
|
'no-empty': 'warn',
|
|
},
|
|
},
|
|
{
|
|
files: ['./src/commands/*.ts'],
|
|
rules: {
|
|
'import-x/no-default-export': 'off',
|
|
},
|
|
},
|
|
);
|