diff options
author | Chocobozzz <me@florianbigard.com> | 2021-08-17 14:42:53 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-08-18 08:35:06 +0200 |
commit | 9df52d660feb722404be00a50f3c8a612bec1c15 (patch) | |
tree | dde52880fa012874d24c60f64eb596b0a789cc8b /client/src/app/shared/shared-main/angular | |
parent | adb8809d43648ea0a64d6845bb39aa3bd0e005a6 (diff) | |
download | PeerTube-9df52d660feb722404be00a50f3c8a612bec1c15.tar.gz PeerTube-9df52d660feb722404be00a50f3c8a612bec1c15.tar.zst PeerTube-9df52d660feb722404be00a50f3c8a612bec1c15.zip |
Migrate client to eslint
Diffstat (limited to 'client/src/app/shared/shared-main/angular')
3 files changed, 3 insertions, 2 deletions
diff --git a/client/src/app/shared/shared-main/angular/autofocus.directive.ts b/client/src/app/shared/shared-main/angular/autofocus.directive.ts index 5f087d79d..2da492ea1 100644 --- a/client/src/app/shared/shared-main/angular/autofocus.directive.ts +++ b/client/src/app/shared/shared-main/angular/autofocus.directive.ts | |||
@@ -1,7 +1,7 @@ | |||
1 | import { AfterViewInit, Directive, ElementRef } from '@angular/core' | 1 | import { AfterViewInit, Directive, ElementRef } from '@angular/core' |
2 | 2 | ||
3 | @Directive({ | 3 | @Directive({ |
4 | selector: '[autofocus]' | 4 | selector: '[myAutofocus]' |
5 | }) | 5 | }) |
6 | export class AutofocusDirective implements AfterViewInit { | 6 | export class AutofocusDirective implements AfterViewInit { |
7 | constructor (private host: ElementRef) { } | 7 | constructor (private host: ElementRef) { } |
diff --git a/client/src/app/shared/shared-main/angular/link.component.ts b/client/src/app/shared/shared-main/angular/link.component.ts index 597a16871..ecbd9151c 100644 --- a/client/src/app/shared/shared-main/angular/link.component.ts +++ b/client/src/app/shared/shared-main/angular/link.component.ts | |||
@@ -1,4 +1,4 @@ | |||
1 | import { Component, Input, ViewEncapsulation } from '@angular/core' | 1 | import { Component, Input } from '@angular/core' |
2 | 2 | ||
3 | @Component({ | 3 | @Component({ |
4 | selector: 'my-link', | 4 | selector: 'my-link', |
diff --git a/client/src/app/shared/shared-main/angular/peertube-template.directive.ts b/client/src/app/shared/shared-main/angular/peertube-template.directive.ts index e04c25d9a..dc0cde12d 100644 --- a/client/src/app/shared/shared-main/angular/peertube-template.directive.ts +++ b/client/src/app/shared/shared-main/angular/peertube-template.directive.ts | |||
@@ -1,6 +1,7 @@ | |||
1 | import { Directive, Input, TemplateRef } from '@angular/core' | 1 | import { Directive, Input, TemplateRef } from '@angular/core' |
2 | 2 | ||
3 | @Directive({ | 3 | @Directive({ |
4 | // eslint-disable-next-line @angular-eslint/directive-selector | ||
4 | selector: '[ptTemplate]' | 5 | selector: '[ptTemplate]' |
5 | }) | 6 | }) |
6 | export class PeerTubeTemplateDirective <T extends string> { | 7 | export class PeerTubeTemplateDirective <T extends string> { |