mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-16 17:46:45 +00:00
18 lines
567 B
JavaScript
18 lines
567 B
JavaScript
import { defineConfig, globalIgnores } from 'eslint/config';
|
|
import { nodeConfig } from '@n8n/eslint-config/node';
|
|
|
|
export default defineConfig(
|
|
globalIgnores(['src/template/templates/**/template', 'src/template/templates/shared']),
|
|
nodeConfig,
|
|
{
|
|
ignores: ['**/*.test.ts'],
|
|
rules: {
|
|
'import-x/no-extraneous-dependencies': ['error', { devDependencies: false }],
|
|
},
|
|
},
|
|
{
|
|
files: ['src/commands/**/*.ts', 'src/modules.d.ts', 'src/configs/eslint.ts'],
|
|
rules: { 'import-x/no-default-export': 'off', '@typescript-eslint/naming-convention': 'off' },
|
|
},
|
|
);
|