From c636ddc711b6340662ce645d0f45f6db2de1e7c4 Mon Sep 17 00:00:00 2001 From: Roger Date: Mon, 31 Aug 2020 18:29:29 -0400 Subject: [PATCH] Rule change for ESLint to error on unused variables. (#1744) This effectively makes commits with an unused variable blocked. --- .eslintrc.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.eslintrc.json b/.eslintrc.json index c1e63c0b04..3fc8857302 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -28,7 +28,8 @@ { "prefixWithI": "always" } ], "no-tabs": "error", - "react/prop-types": "off" + "react/prop-types": "off", + "@typescript-eslint/no-unused-vars": "error" }, "overrides": [ {