n8n/packages/node-dev/eslint.config.mjs
Savelii 44d9d908b2
feat(core): Add encryption usage guardrails (no-changelog) (#37728)
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-09-04 19:24:29 +00:00

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',
},
},
);