n8n/packages/testing/rules-engine/eslint.config.mjs
Declan Carroll 3922984b74
ci: Add rules engine and code health packages (no-changelog) (#27815)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-31 11:20:11 +00:00

24 lines
426 B
JavaScript

import { defineConfig } from 'eslint/config';
import { baseConfig } from '@n8n/eslint-config/base';
export default defineConfig(
baseConfig,
{
ignores: ['coverage/**', 'dist/**'],
},
{
rules: {
'@typescript-eslint/naming-convention': [
'error',
{
selector: 'objectLiteralProperty',
format: null,
filter: {
regex: '^[a-z]+-[a-z-]+$',
match: true,
},
},
],
},
},
);