From 641d904ee4a7cf6e2d6d56165c8b2d11083609d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iv=C3=A1n=20Ovejero?= Date: Fri, 28 Oct 2022 10:35:31 +0200 Subject: [PATCH] refactor: set ESLint to warn on `ts-ignore` comment (#4465) :shirt: Set `ban-ts-comment` to warn on @ts-ignore --- packages/@n8n_io/eslint-config/base.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/@n8n_io/eslint-config/base.js b/packages/@n8n_io/eslint-config/base.js index baf9d04728..d244f76855 100644 --- a/packages/@n8n_io/eslint-config/base.js +++ b/packages/@n8n_io/eslint-config/base.js @@ -137,7 +137,7 @@ const config = (module.exports = { /** * https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/ban-ts-comment.md */ - '@typescript-eslint/ban-ts-comment': 'off', + '@typescript-eslint/ban-ts-comment': ['warn', { 'ts-ignore': true }], /** * https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/ban-types.md