From 3c5f1d89dfc32342995c0441eb2016ea0e440efd Mon Sep 17 00:00:00 2001 From: "fryorcraken.eth" Date: Mon, 5 Sep 2022 21:28:33 +1000 Subject: [PATCH] style: add warning for usage of console --- .eslintrc.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index 747e539c62..bf73aac210 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -32,13 +32,15 @@ "sort-imports": [ "error", { "ignoreDeclarationSort": true, "ignoreCase": true } - ] + ], + "no-console": "warn" }, "overrides": [ { "files": ["*.spec.ts", "**/test_utils/*.ts"], "rules": { - "@typescript-eslint/no-non-null-assertion": "off" + "@typescript-eslint/no-non-null-assertion": "off", + "no-console": "off" } } ]