- TSlint no-unused-variable rule added.
- Cleanup: unused imports and variables.
Signed-off-by: Alfonso MartÃnez <almartin@redhat.com>
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 { of } from 'rxjs';
describe('ConfigurationFormComponent', () => {
let component: ConfigurationFormComponent;
let fixture: ComponentFixture<ConfigurationFormComponent>;
- let activatedRoute: ActivatedRoute;
configureTestBed({
imports: [
beforeEach(() => {
fixture = TestBed.createComponent(ConfigurationFormComponent);
component = fixture.componentInstance;
- activatedRoute = TestBed.get(ActivatedRoute);
});
it('should create', () => {
"no-trailing-whitespace": true,
"no-unnecessary-initializer": true,
"no-unused-expression": true,
+ "no-unused-variable": true,
"no-use-before-declare": true,
"no-var-keyword": true,
"object-literal-sort-keys": false,