ci: Introduce lint rule no-type-unsafe-event-emitter (no-changelog) (#10254)

This commit is contained in:
Iván Ovejero
2024-08-02 12:01:42 +02:00
committed by GitHub
parent 432ac1da59
commit dc8c94d036
3 changed files with 39 additions and 0 deletions

View File

@@ -21,6 +21,7 @@ module.exports = {
rules: {
'n8n-local-rules/no-dynamic-import-template': 'error',
'n8n-local-rules/misplaced-n8n-typeorm-import': 'error',
'n8n-local-rules/no-type-unsafe-event-emitter': 'error',
complexity: 'error',
// TODO: Remove this
@@ -44,6 +45,12 @@ module.exports = {
'n8n-local-rules/misplaced-n8n-typeorm-import': 'off',
},
},
{
files: ['./test/**/*.ts'],
rules: {
'n8n-local-rules/no-type-unsafe-event-emitter': 'off',
},
},
{
files: ['./src/decorators/**/*.ts'],
rules: {