mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-16 09:36:44 +00:00
23 lines
525 B
JavaScript
23 lines
525 B
JavaScript
import { defineConfig } from 'eslint/config';
|
|
import { nodeConfig } from '@n8n/eslint-config/node';
|
|
|
|
export default defineConfig(
|
|
nodeConfig,
|
|
{
|
|
rules: {
|
|
'unicorn/filename-case': ['error', { case: 'kebabCase' }],
|
|
|
|
// TODO: Remove this
|
|
'@typescript-eslint/naming-convention': 'warn',
|
|
'@typescript-eslint/no-unsafe-call': 'warn',
|
|
'@typescript-eslint/no-unsafe-function-type': 'warn',
|
|
},
|
|
},
|
|
{
|
|
files: ['**/*.config.ts'],
|
|
rules: {
|
|
'n8n-local-rules/no-untyped-config-class-field': 'error',
|
|
},
|
|
},
|
|
);
|