diff --git a/openalprwebhookprocessor.client/.eslintrc.json b/openalprwebhookprocessor.client/.eslintrc.json index f0bb979..2901b77 100644 --- a/openalprwebhookprocessor.client/.eslintrc.json +++ b/openalprwebhookprocessor.client/.eslintrc.json @@ -41,11 +41,11 @@ } ], "@stylistic/ts/indent": [ "error", 4 ], + "@stylistic/ts/lines-between-class-members": [ "off" ], "@stylistic/ts/object-curly-spacing": [ "off" ], "@stylistic/ts/quotes": [ "error", "single" ], - "@stylistic/ts/space-before-function-paren": [ "error", "never" ], - "@stylistic/ts/lines-between-class-members": [ "off" ] - + "@stylistic/ts/quote-props": [ "off" ], + "@stylistic/ts/space-before-function-paren": [ "error", "never" ] } }, { diff --git a/openalprwebhookprocessor.client/src/app/plates/plate/plate.component.spec.ts b/openalprwebhookprocessor.client/src/app/plates/plate/plate.component.spec.ts index 30e2e44..89ed443 100644 --- a/openalprwebhookprocessor.client/src/app/plates/plate/plate.component.spec.ts +++ b/openalprwebhookprocessor.client/src/app/plates/plate/plate.component.spec.ts @@ -14,18 +14,18 @@ describe('PlateComponent', () => { beforeEach(async() => { await TestBed.configureTestingModule({ - imports: [BrowserAnimationsModule, - PlateComponent], - providers: [ - DatePipe, - Lightbox, - LightboxConfig, - LightboxEvent, - PlateService, - provideHttpClient(withInterceptorsFromDi()), - provideHttpClientTesting() - ] -}) + imports: [BrowserAnimationsModule, + PlateComponent], + providers: [ + DatePipe, + Lightbox, + LightboxConfig, + LightboxEvent, + PlateService, + provideHttpClient(withInterceptorsFromDi()), + provideHttpClientTesting() + ] + }) .compileComponents(); }); diff --git a/openalprwebhookprocessor.client/src/app/plates/plates.component.spec.ts b/openalprwebhookprocessor.client/src/app/plates/plates.component.spec.ts index 7c09972..3bcca69 100644 --- a/openalprwebhookprocessor.client/src/app/plates/plates.component.spec.ts +++ b/openalprwebhookprocessor.client/src/app/plates/plates.component.spec.ts @@ -8,10 +8,10 @@ import { provideHttpClient, withInterceptorsFromDi } from '@angular/common/http' describe(PlatesComponent.name, () => { beforeEach(() => { TestBed.configureTestingModule({ - imports: [RouterTestingModule, - BrowserAnimationsModule], - providers: [provideHttpClient(withInterceptorsFromDi()), provideHttpClientTesting()] -}); + imports: [RouterTestingModule, + BrowserAnimationsModule], + providers: [provideHttpClient(withInterceptorsFromDi()), provideHttpClientTesting()] + }); }); it('should create the app', () => { diff --git a/openalprwebhookprocessor.client/src/app/settings/alerts/alerts.service.spec.ts b/openalprwebhookprocessor.client/src/app/settings/alerts/alerts.service.spec.ts index 839f7e8..8f7324d 100644 --- a/openalprwebhookprocessor.client/src/app/settings/alerts/alerts.service.spec.ts +++ b/openalprwebhookprocessor.client/src/app/settings/alerts/alerts.service.spec.ts @@ -8,9 +8,9 @@ describe(AlertsService.name, () => { beforeEach(() => { TestBed.configureTestingModule({ - imports: [], - providers: [provideHttpClient(withInterceptorsFromDi()), provideHttpClientTesting()] -}); + imports: [], + providers: [provideHttpClient(withInterceptorsFromDi()), provideHttpClientTesting()] + }); service = TestBed.inject(AlertsService); }); diff --git a/openalprwebhookprocessor.client/src/app/settings/alerts/pushover/pushover.service.spec.ts b/openalprwebhookprocessor.client/src/app/settings/alerts/pushover/pushover.service.spec.ts index 6ef2660..33e24bf 100644 --- a/openalprwebhookprocessor.client/src/app/settings/alerts/pushover/pushover.service.spec.ts +++ b/openalprwebhookprocessor.client/src/app/settings/alerts/pushover/pushover.service.spec.ts @@ -9,9 +9,9 @@ describe(PushoverService.name, () => { beforeEach(() => { TestBed.configureTestingModule({ - imports: [], - providers: [provideHttpClient(withInterceptorsFromDi()), provideHttpClientTesting()] -}); + imports: [], + providers: [provideHttpClient(withInterceptorsFromDi()), provideHttpClientTesting()] + }); service = TestBed.inject(PushoverService); }); diff --git a/openalprwebhookprocessor.client/src/app/settings/alerts/webpush/webpush.service.spec.ts b/openalprwebhookprocessor.client/src/app/settings/alerts/webpush/webpush.service.spec.ts index 3e2457b..6f838bb 100644 --- a/openalprwebhookprocessor.client/src/app/settings/alerts/webpush/webpush.service.spec.ts +++ b/openalprwebhookprocessor.client/src/app/settings/alerts/webpush/webpush.service.spec.ts @@ -9,9 +9,9 @@ describe('WebpushService', () => { beforeEach(() => { TestBed.configureTestingModule({ - imports: [], - providers: [provideHttpClient(withInterceptorsFromDi()), provideHttpClientTesting()] -}); + imports: [], + providers: [provideHttpClient(withInterceptorsFromDi()), provideHttpClientTesting()] + }); service = TestBed.inject(WebpushService); }); diff --git a/openalprwebhookprocessor.client/src/app/settings/cameras/cameras.component.spec.ts b/openalprwebhookprocessor.client/src/app/settings/cameras/cameras.component.spec.ts index 77f3812..154784a 100644 --- a/openalprwebhookprocessor.client/src/app/settings/cameras/cameras.component.spec.ts +++ b/openalprwebhookprocessor.client/src/app/settings/cameras/cameras.component.spec.ts @@ -10,9 +10,9 @@ describe('CamerasComponent', () => { beforeEach(async() => { await TestBed.configureTestingModule({ - imports: [CamerasComponent], - providers: [provideHttpClient(withInterceptorsFromDi()), provideHttpClientTesting()] -}).compileComponents(); + imports: [CamerasComponent], + providers: [provideHttpClient(withInterceptorsFromDi()), provideHttpClientTesting()] + }).compileComponents(); }); beforeEach(() => { diff --git a/openalprwebhookprocessor.client/src/app/settings/enrichers/enrichers.service.spec.ts b/openalprwebhookprocessor.client/src/app/settings/enrichers/enrichers.service.spec.ts index 67fa38e..33dbc64 100644 --- a/openalprwebhookprocessor.client/src/app/settings/enrichers/enrichers.service.spec.ts +++ b/openalprwebhookprocessor.client/src/app/settings/enrichers/enrichers.service.spec.ts @@ -9,9 +9,9 @@ describe('EnrichersService', () => { beforeEach(() => { TestBed.configureTestingModule({ - imports: [], - providers: [provideHttpClient(withInterceptorsFromDi()), provideHttpClientTesting()] -}); + imports: [], + providers: [provideHttpClient(withInterceptorsFromDi()), provideHttpClientTesting()] + }); service = TestBed.inject(EnrichersService); }); diff --git a/openalprwebhookprocessor.client/src/app/settings/forwards/forwards.service.spec.ts b/openalprwebhookprocessor.client/src/app/settings/forwards/forwards.service.spec.ts index 8592f94..81a8155 100644 --- a/openalprwebhookprocessor.client/src/app/settings/forwards/forwards.service.spec.ts +++ b/openalprwebhookprocessor.client/src/app/settings/forwards/forwards.service.spec.ts @@ -9,9 +9,9 @@ describe('ForwardsService', () => { beforeEach(() => { TestBed.configureTestingModule({ - imports: [], - providers: [provideHttpClient(withInterceptorsFromDi()), provideHttpClientTesting()] -}); + imports: [], + providers: [provideHttpClient(withInterceptorsFromDi()), provideHttpClientTesting()] + }); service = TestBed.inject(ForwardsService); }); diff --git a/openalprwebhookprocessor.client/src/app/settings/system-logs/system-logs.service.spec.ts b/openalprwebhookprocessor.client/src/app/settings/system-logs/system-logs.service.spec.ts index c696288..e3c87a7 100644 --- a/openalprwebhookprocessor.client/src/app/settings/system-logs/system-logs.service.spec.ts +++ b/openalprwebhookprocessor.client/src/app/settings/system-logs/system-logs.service.spec.ts @@ -8,9 +8,9 @@ describe(SystemLogsService.name, () => { beforeEach(() => { TestBed.configureTestingModule({ - imports: [], - providers: [SystemLogsService, provideHttpClient(withInterceptorsFromDi()), provideHttpClientTesting()] -}); + imports: [], + providers: [SystemLogsService, provideHttpClient(withInterceptorsFromDi()), provideHttpClientTesting()] + }); service = TestBed.inject(SystemLogsService); });