mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-23 11:44:06 -08:00
ci: Disable import/no-extraneous-dependencies
in frontend tests (no-changelog) (#8182)
supersedes #8180
This commit is contained in:
parent
4bad43dd66
commit
1286d6583c
|
@ -15,7 +15,6 @@ module.exports = {
|
|||
'id-denylist': 'warn',
|
||||
'import/extensions': 'warn',
|
||||
'import/no-default-export': 'warn',
|
||||
'import/no-extraneous-dependencies': 'warn',
|
||||
'import/order': 'off',
|
||||
'import/no-cycle': 'warn',
|
||||
'import/no-duplicates': 'warn',
|
||||
|
|
|
@ -17,7 +17,6 @@ module.exports = {
|
|||
'import/extensions': 'warn',
|
||||
'import/order': 'warn',
|
||||
'prefer-spread': 'warn',
|
||||
'import/no-extraneous-dependencies': 'warn',
|
||||
|
||||
'@typescript-eslint/naming-convention': ['error', { selector: 'memberLike', format: null }],
|
||||
'@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: {
|
||||
'n8n-local-rules/no-plain-errors': 'off',
|
||||
'n8n-local-rules/no-skipped-tests':
|
||||
|
|
|
@ -21,6 +21,12 @@ module.exports = {
|
|||
'n8n-local-rules/dangerously-use-html-string-missing': 'error',
|
||||
},
|
||||
},
|
||||
{
|
||||
files: ['**/*.test.ts', '**/test/**/*.ts', '**/__tests__/**/*.ts'],
|
||||
rules: {
|
||||
'import/no-extraneous-dependencies': 'off',
|
||||
},
|
||||
},
|
||||
],
|
||||
|
||||
rules: {
|
||||
|
@ -53,6 +59,7 @@ module.exports = {
|
|||
],
|
||||
'vue/prop-name-casing': ['error', 'camelCase'],
|
||||
'vue/attribute-hyphenation': ['error', 'always'],
|
||||
'import/no-extraneous-dependencies': 'warn',
|
||||
|
||||
// TODO: fix these
|
||||
'@typescript-eslint/no-unsafe-call': 'off',
|
||||
|
|
|
@ -13,7 +13,6 @@ module.exports = {
|
|||
'id-denylist': 'warn',
|
||||
'import/extensions': 'warn',
|
||||
'import/no-default-export': 'warn',
|
||||
'import/no-extraneous-dependencies': 'warn',
|
||||
'import/order': 'off',
|
||||
'import/no-cycle': 'warn',
|
||||
'import/no-duplicates': 'warn',
|
||||
|
|
Loading…
Reference in a new issue