From 7e82c2030168fb80c5c4e525ecc04cf60971d557 Mon Sep 17 00:00:00 2001 From: Jonas Jenwald Date: Tue, 11 May 2021 11:36:36 +0200 Subject: [PATCH] Prevent LGTM from complaining about useless assignments (PR 12562 follow-up) Given that we're using ESLint, which is fine with the code as-is, let's just silence the warnings; this is similar to PR 12562. --- lgtm.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/lgtm.yml b/lgtm.yml index 2846dcb6b..3b3b99fa8 100644 --- a/lgtm.yml +++ b/lgtm.yml @@ -1,3 +1,4 @@ queries: # Already handled by the "no-unused-vars" ESLint rule. - exclude: js/unused-local-variable + - exclude: js/useless-assignment-to-local