From ffabc3091c3eb84fa7206f7be1a791d158666f91 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C5=ABdolfs=20O=C5=A1i=C5=86=C5=A1?= Date: Thu, 25 Aug 2022 15:26:25 +0200 Subject: [PATCH] Allow explicit type annotations for additional clarity MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Rūdolfs Ošiņš --- .eslintrc.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.eslintrc.json b/.eslintrc.json index e42070b60..c92be47f1 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -111,7 +111,9 @@ // https://eslint.org/docs/rules/no-var "no-var": "error", // Require `===` and `!==` comparisons. - "eqeqeq": "error" + "eqeqeq": "error", + // Allow explict type annotations for additional clarity. + "@typescript-eslint/no-inferrable-types": "off" }, "settings": { "svelte3/typescript": true