mirror of
https://github.com/n8n-io/n8n
synced 2026-04-21 15:47:20 +00:00
24 lines
426 B
JavaScript
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,
|
|
},
|
|
},
|
|
],
|
|
},
|
|
},
|
|
);
|