n8n/packages/testing/containers/eslint.config.mjs
Matsu 3454df1c1b
chore: Remove dead ESLint config and add lint parity tooling (no-changelog) (#38343)
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
2026-09-11 13:33:07 +03:00

31 lines
681 B
JavaScript

import { defineConfig } from 'eslint/config';
import { backendConfig } from '@n8n/eslint-config/backend';
export default defineConfig(
backendConfig,
{
rules: {
'@typescript-eslint/naming-convention': [
'error',
// Add exception for Docker Compose labels
{
selector: 'objectLiteralProperty',
format: null, // Allow any format
filter: {
regex: '^com\\.docker\\.',
match: true,
},
},
],
},
},
{
files: ['services/keycloak.ts'],
// Test infrastructure that talks to a container it started itself,
// so the guarded client buys nothing here.
rules: {
'n8n-local-rules/no-uncentralized-http': 'off',
},
},
);