From 83a37383791a8039190c3eeb370926dbae636b4b Mon Sep 17 00:00:00 2001 From: Jonas Jenwald Date: Sun, 1 Nov 2020 17:00:40 +0100 Subject: [PATCH] Try adding a very basic `lgtm.yml` file, to prevent LGTM complaining about unused variables (issue 11965) *Please note:* I cannot be sure if this actually helps, since we've not enabled LGTM for the PDF.js repository[1], however I hope that it should stop LGTM reporting things that we're already using ESLint to enforce. --- [1] In case the patch does nothing, we can simply revert it and move on :-) --- lgtm.yml | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 lgtm.yml diff --git a/lgtm.yml b/lgtm.yml new file mode 100644 index 000000000..2846dcb6b --- /dev/null +++ b/lgtm.yml @@ -0,0 +1,3 @@ +queries: + # Already handled by the "no-unused-vars" ESLint rule. + - exclude: js/unused-local-variable