From 6cda37eec534e6e3a0c4cecfb92d05bd272dc21c Mon Sep 17 00:00:00 2001 From: Georgi Parlakov Date: Fri, 6 Dec 2024 13:31:28 +0200 Subject: [PATCH] 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"] }] }, }