From 5f7fdba2cdbf40335ad5d86568e9574d6568ec6c Mon Sep 17 00:00:00 2001 From: Dayoung Lee Date: Wed, 28 Sep 2022 19:18:26 +0900 Subject: [PATCH] [lint] Add no-unused-vars rule (#1299) This commit adds no-unused-vars rule to linter. ONE-vscode-DCO-1.0-Signed-off-by: Dayoung Lee --- .eslintrc.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.eslintrc.json b/.eslintrc.json index 3ba742de..77faab9e 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -28,6 +28,7 @@ "no-extra-semi": "warn", "no-case-declarations": "warn", "no-useless-escape" : "warn", - "no-prototype-builtins": "warn" + "no-prototype-builtins": "warn", + "no-unused-vars": ["warn", { "argsIgnorePattern": "^_" }] } }