mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-23 11:44:06 -08:00
👕 Enable consistent-type-imports
for nodes-base
This commit is contained in:
parent
277bed2a5c
commit
529ad72b05
|
@ -194,6 +194,11 @@ const config = (module.exports = {
|
|||
*/
|
||||
'@typescript-eslint/consistent-type-assertions': 'error',
|
||||
|
||||
/**
|
||||
* https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/consistent-type-imports.md
|
||||
*/
|
||||
'@typescript-eslint/consistent-type-imports': 'error',
|
||||
|
||||
/**
|
||||
* https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/member-delimiter-style.md
|
||||
*/
|
||||
|
@ -412,6 +417,20 @@ const config = (module.exports = {
|
|||
'@typescript-eslint/no-unused-vars': 'off',
|
||||
},
|
||||
},
|
||||
// @TODO Remove these exceptions
|
||||
{
|
||||
files: [
|
||||
'./packages/cli/**/*.ts',
|
||||
'./packages/workflow/**/*.ts',
|
||||
'./packages/core/**/*.ts',
|
||||
'./packages/node-dev/**/*.ts',
|
||||
'./packages/editor-ui/**/*.ts',
|
||||
'./packages/design-system/**/*.ts',
|
||||
],
|
||||
rules: {
|
||||
'@typescript-eslint/consistent-type-imports': 'off',
|
||||
},
|
||||
},
|
||||
],
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue