From 3fc174fc862aa33c122310eb54a8a0628306d0c4 Mon Sep 17 00:00:00 2001 From: MillenniumEarl Date: Thu, 4 Mar 2021 12:50:06 +0100 Subject: [PATCH] Update rules --- .eslintrc | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/.eslintrc b/.eslintrc index c388cfa..533b4e5 100644 --- a/.eslintrc +++ b/.eslintrc @@ -13,6 +13,22 @@ ], "rules": { "no-console": 1, // Means warning - "prettier/prettier": 2 // Means error - } + "prettier/prettier": 2, // Means error + "no-unused-vars": [ + 1, + { + "vars": "all", + "args": "after-used" + } + ] + }, + "overrides": [ + { + "files": [ + "*/src/example.ts" + ], + "rules": { + "no-console": "off" + } + }] } \ No newline at end of file