clean up and lint files

This commit is contained in:
2025-01-05 10:29:29 +01:00
parent 54ee9a5b11
commit 189478f078
137 changed files with 1096 additions and 1340 deletions

View File

@@ -6,13 +6,11 @@ describe('BrandComponent', () => {
let component: BrandComponent;
let fixture: ComponentFixture<BrandComponent>;
beforeEach(
waitForAsync(() => {
void TestBed.configureTestingModule({
imports: [BrandComponent],
}).compileComponents();
}),
);
beforeEach(waitForAsync(() => {
void TestBed.configureTestingModule({
imports: [BrandComponent],
}).compileComponents();
}));
beforeEach(() => {
fixture = TestBed.createComponent(BrandComponent);

View File

@@ -1,11 +1,10 @@
import {Component} from '@angular/core';
import { LogoComponent } from '../../widget-modules/components/logo/logo.component';
import {LogoComponent} from '../../widget-modules/components/logo/logo.component';
@Component({
selector: 'app-brand',
templateUrl: './brand.component.html',
styleUrls: ['./brand.component.less'],
imports: [LogoComponent],
selector: 'app-brand',
templateUrl: './brand.component.html',
styleUrls: ['./brand.component.less'],
imports: [LogoComponent],
})
export class BrandComponent {
}
export class BrandComponent {}

View File

@@ -18,7 +18,6 @@ const routes: Routes = [
];
@NgModule({
imports: [CommonModule, RouterModule.forChild(routes), BrandComponent, NewUserComponent],
imports: [CommonModule, RouterModule.forChild(routes), BrandComponent, NewUserComponent],
})
export class BrandModule {
}
export class BrandModule {}

View File

@@ -6,13 +6,11 @@ describe('NewUserComponent', () => {
let component: NewUserComponent;
let fixture: ComponentFixture<NewUserComponent>;
beforeEach(
waitForAsync(() => {
void TestBed.configureTestingModule({
imports: [NewUserComponent],
}).compileComponents();
}),
);
beforeEach(waitForAsync(() => {
void TestBed.configureTestingModule({
imports: [NewUserComponent],
}).compileComponents();
}));
beforeEach(() => {
fixture = TestBed.createComponent(NewUserComponent);

View File

@@ -2,18 +2,14 @@ import {Component} from '@angular/core';
import {UserService} from '../../../services/user/user.service';
import {Observable} from 'rxjs';
import {User} from '../../../services/user/user';
import { BrandComponent } from '../brand.component';
import { NgIf, AsyncPipe } from '@angular/common';
import {BrandComponent} from '../brand.component';
import {AsyncPipe, NgIf} from '@angular/common';
@Component({
selector: 'app-new-user',
templateUrl: './new-user.component.html',
styleUrls: ['./new-user.component.less'],
imports: [
BrandComponent,
NgIf,
AsyncPipe,
],
selector: 'app-new-user',
templateUrl: './new-user.component.html',
styleUrls: ['./new-user.component.less'],
imports: [BrandComponent, NgIf, AsyncPipe],
})
export class NewUserComponent {
public user$: Observable<User | null> | null = null;