20 lines
427 B
JavaScript
Executable File
20 lines
427 B
JavaScript
Executable File
import { defineConfig } from 'eslint/config';
|
|
import { baseConfig } from '@n8n/eslint-config/base';
|
|
|
|
export default defineConfig(baseConfig, {
|
|
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,
|
|
},
|
|
},
|
|
],
|
|
},
|
|
});
|