update tslint -> eslint

This commit is contained in:
2021-05-21 20:17:26 +02:00
parent 80260df71f
commit a195fafa6b
252 changed files with 3080 additions and 2420 deletions

View File

@@ -1,12 +1,10 @@
import {Pipe, PipeTransform} from '@angular/core';
@Pipe({
name: 'role'
name: 'role',
})
export class RolePipe implements PipeTransform {
transform(role: string): string {
public transform(role: string): string {
switch (role) {
case 'contributor':
return 'Mitarbeiter';
@@ -20,8 +18,6 @@ export class RolePipe implements PipeTransform {
return 'Lobpreisleiter';
case 'presenter':
return 'Präsentator';
}
}
}