build: Replace Codelyzer and TSLint with Angular ESLint
Migrate from the deprecated TSLint to Angluar ESLint. Also fix current linting issues in the code, in particular: - Use strict equals operators (=== and !==) - Remove empty lifecycle methods (mostly ngOnInit) - Output bindings including aliases should not be named as standard dom events (submit) - Async pipe results should not be negated
This commit is contained in:
@@ -1,20 +1,17 @@
|
||||
|
||||
/** Angular Imports */
|
||||
import { Component, OnInit, Input } from '@angular/core';
|
||||
import { Component, Input } from '@angular/core';
|
||||
|
||||
@Component({
|
||||
selector: 'mifosx-office-navigation',
|
||||
templateUrl: './office-navigation.component.html',
|
||||
styleUrls: ['./office-navigation.component.scss']
|
||||
})
|
||||
export class OfficeNavigationComponent implements OnInit {
|
||||
export class OfficeNavigationComponent {
|
||||
|
||||
@Input() officeData: any;
|
||||
@Input() employeeData: any;
|
||||
|
||||
constructor() { }
|
||||
|
||||
ngOnInit() {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user