20 lines
427 B
JavaScript
20 lines
427 B
JavaScript
|
|
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,
|
||
|
|
},
|
||
|
|
},
|
||
|
|
],
|
||
|
|
},
|
||
|
|
});
|