From 7985fb6b95df3a3d667343138f9159ffc780485f Mon Sep 17 00:00:00 2001 From: REJack Date: Wed, 2 Dec 2020 08:26:31 +0100 Subject: [PATCH] try to avoid lgtm unused-local-variable alert --- dist/js/pages/dashboard.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dist/js/pages/dashboard.js b/dist/js/pages/dashboard.js index 9408c5814..ee65df63a 100644 --- a/dist/js/pages/dashboard.js +++ b/dist/js/pages/dashboard.js @@ -167,6 +167,7 @@ $(function () { // This will get the first returned node in the jQuery collection. // eslint-disable-next-line no-unused-vars var salesChart = new Chart(salesChartCanvas, { + // lgtm [js/unused-local-variable] type: 'line', data: salesChartData, options: salesChartOptions @@ -265,5 +266,3 @@ $(function () { options: salesGraphChartOptions }) }) - -// lgtm [js/unused-local-variable]