From ad2a881e6ed58c10c75c3a8b2fec8fec0afaf38a Mon Sep 17 00:00:00 2001 From: Rafly Maulana Date: Mon, 21 Nov 2022 00:15:05 +0700 Subject: [PATCH] Add no-shadow and no-unused-vars rules - no shadow to allow reusing variable name for different function args - no unused vars to help up speed up development when adding or removing as well as testing new things --- client/package.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client/package.json b/client/package.json index 039a2e9..acbbc3f 100755 --- a/client/package.json +++ b/client/package.json @@ -40,6 +40,8 @@ "../package.json" ], "rules": { + "no-unused-vars": "warn", + "no-shadow": "off", "import/no-extraneous-dependencies": [ "error", {