From da0b448fbc1e09641cc8ee82c615763a2d13a21f Mon Sep 17 00:00:00 2001 From: Sang NGO DOAN Date: Wed, 18 May 2016 10:31:42 +0700 Subject: [PATCH] OR-2268 Make eslint to warn on unused variables --- .eslintrc.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.eslintrc.json b/.eslintrc.json index 2d0d3bfe78..1573e5c04d 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -174,7 +174,7 @@ "no-unmodified-loop-condition": "warn", "no-unneeded-ternary": "off", "no-unused-expressions": "off", - "no-unused-vars": ["off", {"args": "none" }], + "no-unused-vars": ["warn", { "vars": "all", "args": "all" }], "no-use-before-define": ["warn", { "functions": false }], "no-useless-call": "error", "no-useless-concat": "error",