mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
ci: Disable import/no-extraneous-dependencies in frontend tests (no-changelog) (#8182)
supersedes #8180
This commit is contained in:
committed by
GitHub
parent
4bad43dd66
commit
1286d6583c
@@ -15,7 +15,6 @@ module.exports = {
|
|||||||
'id-denylist': 'warn',
|
'id-denylist': 'warn',
|
||||||
'import/extensions': 'warn',
|
'import/extensions': 'warn',
|
||||||
'import/no-default-export': 'warn',
|
'import/no-default-export': 'warn',
|
||||||
'import/no-extraneous-dependencies': 'warn',
|
|
||||||
'import/order': 'off',
|
'import/order': 'off',
|
||||||
'import/no-cycle': 'warn',
|
'import/no-cycle': 'warn',
|
||||||
'import/no-duplicates': 'warn',
|
'import/no-duplicates': 'warn',
|
||||||
|
|||||||
@@ -17,7 +17,6 @@ module.exports = {
|
|||||||
'import/extensions': 'warn',
|
'import/extensions': 'warn',
|
||||||
'import/order': 'warn',
|
'import/order': 'warn',
|
||||||
'prefer-spread': 'warn',
|
'prefer-spread': 'warn',
|
||||||
'import/no-extraneous-dependencies': 'warn',
|
|
||||||
|
|
||||||
'@typescript-eslint/naming-convention': ['error', { selector: 'memberLike', format: null }],
|
'@typescript-eslint/naming-convention': ['error', { selector: 'memberLike', format: null }],
|
||||||
'@typescript-eslint/no-explicit-any': 'warn', //812 warnings, better to fix in separate PR
|
'@typescript-eslint/no-explicit-any': 'warn', //812 warnings, better to fix in separate PR
|
||||||
|
|||||||
@@ -473,7 +473,7 @@ const config = (module.exports = {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
files: ['test/**/*.ts', 'src/__tests__/*.ts'],
|
files: ['test/**/*.ts', '**/__tests__/*.ts'],
|
||||||
rules: {
|
rules: {
|
||||||
'n8n-local-rules/no-plain-errors': 'off',
|
'n8n-local-rules/no-plain-errors': 'off',
|
||||||
'n8n-local-rules/no-skipped-tests':
|
'n8n-local-rules/no-skipped-tests':
|
||||||
|
|||||||
@@ -21,6 +21,12 @@ module.exports = {
|
|||||||
'n8n-local-rules/dangerously-use-html-string-missing': 'error',
|
'n8n-local-rules/dangerously-use-html-string-missing': 'error',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
files: ['**/*.test.ts', '**/test/**/*.ts', '**/__tests__/**/*.ts'],
|
||||||
|
rules: {
|
||||||
|
'import/no-extraneous-dependencies': 'off',
|
||||||
|
},
|
||||||
|
},
|
||||||
],
|
],
|
||||||
|
|
||||||
rules: {
|
rules: {
|
||||||
@@ -53,6 +59,7 @@ module.exports = {
|
|||||||
],
|
],
|
||||||
'vue/prop-name-casing': ['error', 'camelCase'],
|
'vue/prop-name-casing': ['error', 'camelCase'],
|
||||||
'vue/attribute-hyphenation': ['error', 'always'],
|
'vue/attribute-hyphenation': ['error', 'always'],
|
||||||
|
'import/no-extraneous-dependencies': 'warn',
|
||||||
|
|
||||||
// TODO: fix these
|
// TODO: fix these
|
||||||
'@typescript-eslint/no-unsafe-call': 'off',
|
'@typescript-eslint/no-unsafe-call': 'off',
|
||||||
|
|||||||
@@ -13,7 +13,6 @@ module.exports = {
|
|||||||
'id-denylist': 'warn',
|
'id-denylist': 'warn',
|
||||||
'import/extensions': 'warn',
|
'import/extensions': 'warn',
|
||||||
'import/no-default-export': 'warn',
|
'import/no-default-export': 'warn',
|
||||||
'import/no-extraneous-dependencies': 'warn',
|
|
||||||
'import/order': 'off',
|
'import/order': 'off',
|
||||||
'import/no-cycle': 'warn',
|
'import/no-cycle': 'warn',
|
||||||
'import/no-duplicates': 'warn',
|
'import/no-duplicates': 'warn',
|
||||||
|
|||||||
Reference in New Issue
Block a user