From 9121d5d603f916d5489f69d04123647fe4fe4bc8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iv=C3=A1n=20Ovejero?= Date: Mon, 24 Apr 2023 13:43:00 +0200 Subject: [PATCH] :shirt: Base severity on `NODE_ENV` --- 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 616ede7084ccf..e886cdc79e449 100644 --- a/packages/@n8n_io/eslint-config/base.js +++ b/packages/@n8n_io/eslint-config/base.js @@ -435,7 +435,7 @@ const config = (module.exports = { /** * https://github.com/sweepline/eslint-plugin-unused-imports/blob/master/docs/rules/no-unused-imports.md */ - 'unused-imports/no-unused-imports': 'error', + 'unused-imports/no-unused-imports': process.env.NODE_ENV === 'development' ? 'warn' : 'error', }, overrides: [