未验证 提交 2e43421e 编写于 作者: J Jeff Wang 提交者: GitHub

Vue comes with the debouce feature. That's why I encountered the variable not...

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)
上级 9c39dafa
......@@ -19,6 +19,5 @@ module.exports = {
// so we can have pre-commit running
'no-invalid-this': 'off',
'require-jsdoc': 'off',
'no-unused-vars': 'off',
}
}
......@@ -31,7 +31,7 @@
<script>
import {getPluginAudioTags, getRuns} from '../service';
import {debounce, flatten, uniq} from 'lodash';
import {flatten, uniq} from 'lodash';
import autoAdjustHeight from '../common/util/autoAdjustHeight';
import Config from './ui/Config';
......
import axios from 'axios';
import qs from 'qs';
import Notification from '../component/Notification';
// import Notification from '../component/Notification';
const STATUS = 'status';
const STATUSINFO = 'msg';
// const STATUS = 'status';
// const STATUSINFO = 'msg';
const instance = axios.create({
baseURL: '/',
......
......@@ -31,7 +31,7 @@
import {getPluginHistogramsTags, getRuns} from '../service';
import Config from './ui/Config';
import ChartPage from './ui/ChartPage';
import {debounce, flatten, uniq} from 'lodash';
import {flatten, uniq} from 'lodash';
import autoAdjustHeight from '../common/util/autoAdjustHeight';
export default {
......
......@@ -31,7 +31,7 @@
<script>
import {getPluginImagesTags, getRuns} from '../service';
import {debounce, flatten, uniq} from 'lodash';
import {flatten, uniq} from 'lodash';
import autoAdjustHeight from '../common/util/autoAdjustHeight';
import Config from './ui/Config';
......
......@@ -30,7 +30,7 @@
<script>
import {getPluginScalarsTags, getRuns} from '../service';
import {debounce, flatten, uniq} from 'lodash';
import {flatten, uniq} from 'lodash';
import autoAdjustHeight from '../common/util/autoAdjustHeight';
import Config from './ui/Config';
......
......@@ -31,7 +31,7 @@
<script>
import {getPluginTextsTags, getRuns} from '../service';
import {debounce, flatten, uniq} from 'lodash';
import {flatten, uniq} from 'lodash';
import autoAdjustHeight from '../common/util/autoAdjustHeight';
import Config from './ui/Config';
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册