mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-16 17:46:45 +00:00
build: Only enable no-argument-spread lint rule in node packages (#18378)
This commit is contained in:
@@ -10,7 +10,6 @@ export default defineConfig(
|
||||
// TODO: remove all the following rules
|
||||
eqeqeq: 'warn',
|
||||
'id-denylist': 'warn',
|
||||
'prefer-spread': 'warn',
|
||||
'no-empty': 'warn',
|
||||
'no-useless-escape': 'warn',
|
||||
'no-prototype-builtins': 'warn',
|
||||
@@ -22,12 +21,16 @@ export default defineConfig(
|
||||
'no-dupe-else-if': 'warn',
|
||||
'no-extra-boolean-cast': 'warn',
|
||||
'no-fallthrough': 'warn',
|
||||
|
||||
'import-x/extensions': 'warn',
|
||||
'import-x/no-default-export': 'warn',
|
||||
'import-x/export': 'warn',
|
||||
'import-x/order': 'warn',
|
||||
'import-x/no-default-export': 'warn',
|
||||
'import-x/no-extraneous-dependencies': 'warn',
|
||||
|
||||
'n8n-local-rules/no-argument-spread': 'warn', // TODO: mark error
|
||||
|
||||
'@typescript-eslint/ban-ts-comment': ['warn', { 'ts-ignore': true }],
|
||||
'@typescript-eslint/naming-convention': ['warn'],
|
||||
'@typescript-eslint/no-explicit-any': 'warn', //812 warnings, better to fix in separate PR
|
||||
|
||||
Reference in New Issue
Block a user