From 56876147a69293cf6c8d85e60d23560839cc2f31 Mon Sep 17 00:00:00 2001 From: Gray Strider Date: Mon, 7 Oct 2019 00:20:49 +1100 Subject: [PATCH] eslint, no any, no inferrable types, unused vars - warning --- .eslintrc | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.eslintrc b/.eslintrc index b2eef2e2..a3e815de 100644 --- a/.eslintrc +++ b/.eslintrc @@ -9,7 +9,12 @@ "semi": ["error", "always"], "quotes": ["error", "double"], "@typescript-eslint/explicit-function-return-type": "off", - "@typescript-eslint/no-explicit-any": "off", - "@typescript-eslint/no-inferrable-types": "off" + "@typescript-eslint/no-explicit-any": 1, + "@typescript-eslint/no-inferrable-types": [ + "warn", { + "ignoreParameters": true + } + ], + "@typescript-eslint/no-unused-vars": "warn" } }