build: Only enable no-argument-spread lint rule in node packages (#18378)

This commit is contained in:
Elias Meire
2025-08-18 13:48:46 +02:00
committed by GitHub
parent f769d5588e
commit ba5ada24c2
7 changed files with 11 additions and 10 deletions

View File

@@ -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