mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
refactor(core): Enable import/order eslint rule (#10794)
This commit is contained in:
@@ -28,7 +28,17 @@ module.exports = {
|
||||
|
||||
// TODO: Remove this
|
||||
'import/no-cycle': 'warn',
|
||||
'import/order': 'off',
|
||||
'import/order': [
|
||||
'error',
|
||||
{
|
||||
alphabetize: {
|
||||
order: 'asc',
|
||||
caseInsensitive: true,
|
||||
},
|
||||
groups: [['builtin', 'external'], 'internal', ['parent', 'index', 'sibling'], 'object'],
|
||||
'newlines-between': 'always',
|
||||
},
|
||||
],
|
||||
'import/extensions': 'warn',
|
||||
'@typescript-eslint/ban-ts-comment': ['warn', { 'ts-ignore': true }],
|
||||
'@typescript-eslint/no-explicit-any': 'warn',
|
||||
|
||||
Reference in New Issue
Block a user