permissive eslint rules to remove linter warnings

This commit is contained in:
Maxime GRIS
2019-11-19 15:47:26 +01:00
parent db6c0e4d8b
commit 964b57f245
9 changed files with 14 additions and 20 deletions

View File

@@ -7,10 +7,8 @@ import { Component, OnInit } from '@angular/core';
})
export class HomeComponent implements OnInit {
/* eslint "no-empty-function":0, "@typescript-eslint/no-empty-function": 0 */
constructor() { }
/* eslint "no-empty-function":0, "@typescript-eslint/no-empty-function": 0 */
ngOnInit(): void { }
}

View File

@@ -6,9 +6,7 @@ import { Component, OnInit } from '@angular/core';
styleUrls: ['./page-not-found.component.scss']
})
export class PageNotFoundComponent implements OnInit {
/* eslint "no-empty-function":0, "@typescript-eslint/no-empty-function": 0 */
constructor() {}
/* eslint "no-empty-function":0, "@typescript-eslint/no-empty-function": 0 */
ngOnInit(): void {}
}

View File

@@ -4,6 +4,5 @@ import { Directive } from '@angular/core';
selector: 'webview'
})
export class WebviewDirective {
/* eslint "no-empty-function":0, "@typescript-eslint/no-empty-function": 0 */
constructor() {}
}