]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
Merge pull request #24699 from rhcs-dashboard/add-tslint-rule
authorLenz Grimmer <lenz@grimmer.com>
Tue, 23 Oct 2018 06:48:54 +0000 (08:48 +0200)
committerGitHub <noreply@github.com>
Tue, 23 Oct 2018 06:48:54 +0000 (08:48 +0200)
mgr/dashboard: Add TSLint rule "no-unused-variable"

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
1  2 
src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-snapshot-list/rbd-snapshot-list.component.ts
src/pybind/mgr/dashboard/frontend/tslint.json

index 472b8795c3b694b74aa4e1fa7718902554f2a59a,ccf2a7488717f1817449e994d6a32c5c32dd7e00..014ecc447a5e7d7bfbd8e21e72cf8f17f0e54aee
@@@ -1,8 -1,7 +1,7 @@@
  import { Component, Input, OnChanges, OnInit, TemplateRef, ViewChild } from '@angular/core';
  
- import * as _ from 'lodash';
  import * as moment from 'moment';
 -import { BsModalRef, BsModalService } from 'ngx-bootstrap';
 +import { BsModalRef, BsModalService } from 'ngx-bootstrap/modal';
  import { of } from 'rxjs';
  
  import { RbdService } from '../../../shared/api/rbd.service';