mirror of
https://github.com/n8n-io/n8n.git
synced 2026-10-19 16:55:02 +02:00
20 lines
562 B
JavaScript
20 lines
562 B
JavaScript
import { defineConfig } from 'eslint/config';
|
|
import { baseConfig } from '@n8n/eslint-config/base';
|
|
import { encryptionBoundaryConfig } from '@n8n/eslint-config/encryption-boundary';
|
|
|
|
export default defineConfig(
|
|
baseConfig,
|
|
// Depends on n8n-core, so the encryption guardrails must run here even
|
|
// though it is not on nodeConfig.
|
|
encryptionBoundaryConfig,
|
|
{
|
|
rules: {
|
|
'unicorn/filename-case': ['error', { case: 'kebabCase' }],
|
|
|
|
// TODO: Remove this
|
|
'unicorn/filename-case': 'warn',
|
|
'@typescript-eslint/naming-convention': 'warn',
|
|
},
|
|
},
|
|
);
|