From 2e43421e4bb645464a173ddee8d13049e556f060 Mon Sep 17 00:00:00 2001 From: Jeff Wang Date: Mon, 9 Apr 2018 13:20:03 -0700 Subject: [PATCH] Vue comes with the debouce feature. That's why I encountered the variable not used error. Removing those import and bring back the 'no-unused-vars' check. (#376) --- frontend/.eslintrc.js | 1 - frontend/src/audio/Audio.vue | 2 +- frontend/src/common/util/http.js | 6 +++--- frontend/src/histogram/Histogram.vue | 2 +- frontend/src/images/Images.vue | 2 +- frontend/src/scalars/Scalars.vue | 2 +- frontend/src/texts/Texts.vue | 2 +- 7 files changed, 8 insertions(+), 9 deletions(-) diff --git a/frontend/.eslintrc.js b/frontend/.eslintrc.js index b579de16..d9d63bb7 100644 --- a/frontend/.eslintrc.js +++ b/frontend/.eslintrc.js @@ -19,6 +19,5 @@ module.exports = { // so we can have pre-commit running 'no-invalid-this': 'off', 'require-jsdoc': 'off', - 'no-unused-vars': 'off', } } diff --git a/frontend/src/audio/Audio.vue b/frontend/src/audio/Audio.vue index f05d6d3c..f130ead6 100644 --- a/frontend/src/audio/Audio.vue +++ b/frontend/src/audio/Audio.vue @@ -31,7 +31,7 @@