Skip to content

Commit ef1f596

Browse files
authored
Remove unused lint directives (#3488)
1 parent 88f2f8c commit ef1f596

File tree

9 files changed

+0
-9
lines changed

9 files changed

+0
-9
lines changed

src/SIL.XForge.Scripture/ClientApp/src/app/app.component.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,6 @@ export class AppComponent extends DataLoadingComponent implements OnInit, OnDest
134134
);
135135
navEndEvent$.pipe(quietTakeUntilDestroyed(this.destroyRef)).subscribe(e => {
136136
if (this.isAppOnline) {
137-
// eslint-disable-next-line @typescript-eslint/naming-convention
138137
gtag('config', 'UA-22170471-15', { page_path: e.urlAfterRedirects });
139138
}
140139
});

src/SIL.XForge.Scripture/ClientApp/src/app/shared/audio-recorder-dialog/audio-recorder-dialog.component.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ export interface AudioRecorderDialogResult {
5252
styleUrl: './audio-recorder-dialog.component.scss',
5353
imports: [UICommonModule, CommonModule, SharedModule, TranslocoModule]
5454
})
55-
/* eslint-disable brace-style */
5655
export class AudioRecorderDialogComponent implements ControlValueAccessor, OnInit, OnDestroy {
5756
@ViewChild(SingleButtonAudioPlayerComponent) audioPlayer?: SingleButtonAudioPlayerComponent;
5857
@Output() status = new EventEmitter<AudioAttachment>();

src/SIL.XForge.Scripture/ClientApp/src/app/shared/copyright-banner/copyright-banner.component.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ export class CopyrightBannerComponent {
3232
// allowing non-null assertion for this.notice as the link to open the dialog is only shown when
3333
// this.notice is defined (this.showMoreInfo)
3434

35-
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3635
let copyrightNotice = this.notice!.trim();
3736
if (copyrightNotice[0] !== '<') {
3837
// If copyright is plain text, remove the first line and add paragraph markers.

src/SIL.XForge.Scripture/ClientApp/src/app/translate/draft-generation/draft-sources/draft-sources.component.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@ export class DraftSourcesComponent extends DataLoadingComponent implements Confi
7676
static readonly projectSettingValueUnset = 'unset';
7777

7878
// Expose ElementState enum to template.
79-
// eslint-disable-next-line @typescript-eslint/naming-convention
8079
ElementState = ElementState;
8180

8281
step = 1;

src/SIL.XForge.Scripture/ClientApp/src/app/translate/draft-generation/mock-pretranslation-machine-api.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* eslint-disable brace-style */
21
import { Injectable } from '@angular/core';
32
import { Observable, of, Subscription, timer } from 'rxjs';
43
import { map, takeWhile } from 'rxjs/operators';

src/SIL.XForge.Scripture/ClientApp/src/xforge-common/data-loading-component.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ import { NoticeService } from './notice.service';
99
*/
1010
// Decorator required by Angular compiler
1111
@Directive()
12-
// eslint-disable-next-line @angular-eslint/directive-class-suffix
1312
export abstract class DataLoadingComponent implements OnDestroy {
1413
private _isLoading$ = new BehaviorSubject<boolean>(false);
1514
private _isLoaded$ = new BehaviorSubject<boolean>(false);

src/SIL.XForge.Scripture/ClientApp/src/xforge-common/paginator/paginator.component.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import { Subscription } from 'rxjs';
55

66
// Decorator required by Angular compiler
77
@Directive()
8-
// eslint-disable-next-line @angular-eslint/directive-class-suffix
98
export class Paginator extends MatPaginatorIntl implements OnDestroy {
109
itemsPerPageLabel = '';
1110
nextPageLabel = '';

src/SIL.XForge.Scripture/ClientApp/src/xforge-common/subscription-disposable.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ import { takeUntil } from 'rxjs/operators';
99
*/
1010
// Decorator required by Angular compiler
1111
@Directive()
12-
// eslint-disable-next-line @angular-eslint/directive-class-suffix
1312
export abstract class SubscriptionDisposable implements OnDestroy {
1413
protected ngUnsubscribe: Subject<void> = new Subject<void>();
1514

src/SIL.XForge.Scripture/ClientApp/src/xforge-common/write-status/write-status.component.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,5 @@ export class WriteStatusComponent {
1212
@Input() state?: ElementState;
1313
@Input() formGroup?: FormGroup;
1414

15-
// eslint-disable-next-line @typescript-eslint/naming-convention
1615
ElementState = ElementState;
1716
}

0 commit comments

Comments
 (0)