refactor: replace TSLint with ESLint

This commit is contained in:
Wieland Schöbl
2021-06-30 13:53:44 +02:00
committed by Jovan Krunić
parent 67fb4a43c9
commit d696215d08
147 changed files with 5471 additions and 2704 deletions

View File

@@ -25,7 +25,7 @@ export class DataIconPipe implements PipeTransform {
/**
* Mapping from data types to ionic icons to show
*/
typeIconMap: {[type in SCThingType] : string; };
typeIconMap: {[type in SCThingType]: string};
constructor() {
this.typeIconMap = {
@@ -57,9 +57,9 @@ export class DataIconPipe implements PipeTransform {
};
}
/**
* Provide the icon name from the data type
*/
/**
* Provide the icon name from the data type
*/
transform(type: SCThingType): string {
return this.typeIconMap[type];
}