mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-16 17:46:45 +00:00
refactor(core): Lint to enforce lazyloading in modules (#16843)
Co-authored-by: Juuso Tapaninen <juuso@n8n.io>
This commit is contained in:
@@ -99,4 +99,12 @@ export default defineConfig(
|
||||
'n8n-local-rules/no-uncaught-json-parse': 'warn',
|
||||
},
|
||||
},
|
||||
{
|
||||
files: ['**/*.module.ts'],
|
||||
|
||||
rules: {
|
||||
'n8n-local-rules/no-top-level-relative-imports-in-backend-module': 'error',
|
||||
'n8n-local-rules/no-constructor-in-backend-module': 'error',
|
||||
},
|
||||
},
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user