From 6cda37eec534e6e3a0c4cecfb92d05bd272dc21c Mon Sep 17 00:00:00 2001 From: Georgi Parlakov Date: Fri, 6 Dec 2024 13:31:28 +0200 Subject: [PATCH 1/2] Lint out console.log-s This eslint rule will help catch console.log-s and similar in the codd --- .eslintrc.js | 1 + 1 file changed, 1 insertion(+) diff --git a/.eslintrc.js b/.eslintrc.js index 446629ed2..4561ab8a3 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -52,5 +52,6 @@ module.exports = { message: 'Please use next-i18next', }, ], + no-console: ["error", { allow: ["warn", "error"] }] }, } From fde8e426c9fece63106d65ff6c63435011e03863 Mon Sep 17 00:00:00 2001 From: Georgi Parlakov Date: Fri, 6 Dec 2024 13:34:30 +0200 Subject: [PATCH 2/2] Update .eslintrc.js --- .eslintrc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.eslintrc.js b/.eslintrc.js index 4561ab8a3..dc388765b 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -52,6 +52,6 @@ module.exports = { message: 'Please use next-i18next', }, ], - no-console: ["error", { allow: ["warn", "error"] }] + 'no-console': ['error', { allow: ['warn', 'error'] }] }, }