try to avoid lgtm unused-local-variable alert

This commit is contained in:
REJack 2020-12-02 08:26:31 +01:00
parent c6926a5eea
commit 7985fb6b95

View file

@ -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]