tech: removing unused variables from typescript files, and making tslint rules more strict

This commit is contained in:
Torkel Ödegaard
2017-09-21 16:40:18 +02:00
parent adda84d124
commit b8d9722b4f
176 changed files with 137 additions and 391 deletions
+1 -3
View File
@@ -3,10 +3,8 @@
import _ from 'lodash';
import moment from 'moment';
import alertDef from '../../../features/alerting/alert_def';
import config from 'app/core/config';
import {PanelCtrl} from 'app/plugins/sdk';
import * as rangeUtil from 'app/core/utils/rangeutil';
import * as dateMath from 'app/core/utils/datemath';
class AlertListPanel extends PanelCtrl {
@@ -37,7 +35,7 @@ class AlertListPanel extends PanelCtrl {
};
/** @ngInject */
constructor($scope, $injector, private $location, private backendSrv, private timeSrv, private templateSrv) {
constructor($scope, $injector, private backendSrv) {
super($scope, $injector);
_.defaults(this.panel, this.panelDefaults);