mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
fix(editor): Fix highlighting in SQL editor (#19291)
This commit is contained in:
13
packages/@n8n/codemirror-lang-sql/eslint.config.mjs
Normal file
13
packages/@n8n/codemirror-lang-sql/eslint.config.mjs
Normal file
@@ -0,0 +1,13 @@
|
||||
import { defineConfig, globalIgnores } from 'eslint/config';
|
||||
import { baseConfig } from '@n8n/eslint-config/base';
|
||||
|
||||
export default defineConfig(baseConfig, globalIgnores(['src/grammar*.ts']), {
|
||||
rules: {
|
||||
'@typescript-eslint/naming-convention': 'warn',
|
||||
'no-useless-escape': 'warn',
|
||||
'@typescript-eslint/unbound-method': 'warn',
|
||||
'@typescript-eslint/prefer-nullish-coalescing': 'warn',
|
||||
'@typescript-eslint/no-unsafe-enum-comparison': 'off',
|
||||
'@typescript-eslint/naming-convention': 'off',
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user