Skip to content

Commit

Permalink
🎨 #52: Prettier angewendet
Browse files Browse the repository at this point in the history
  • Loading branch information
Hirschfuchs committed Dec 20, 2023
1 parent 388cdce commit 517ac0e
Show file tree
Hide file tree
Showing 17 changed files with 41 additions and 53 deletions.
4 changes: 1 addition & 3 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,7 @@
}
},
"cli": {
"schematicCollections": [
"@angular-eslint/schematics"
],
"schematicCollections": ["@angular-eslint/schematics"],
"analytics": false
}
}
2 changes: 1 addition & 1 deletion src/app/app.component.spec.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { Component } from '@angular/core';
import { TestBed } from '@angular/core/testing';
import { RouterTestingModule } from '@angular/router/testing';
import { AppComponent } from './app.component';
import { SharedComponentsModule } from './shared/components/shared-components.module';
import { Component } from '@angular/core';

describe('AppComponent', () => {
beforeEach(async () => {
Expand Down
2 changes: 1 addition & 1 deletion src/app/app.component.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Component } from '@angular/core';
import { SharedComponentsModule } from './shared/components/shared-components.module';
import { RouterOutlet } from '@angular/router';
import { SharedComponentsModule } from './shared/components/shared-components.module';
import { ComingSoonComponent } from './wartung/coming-soon/coming-soon.component';

@Component({
Expand Down
2 changes: 1 addition & 1 deletion src/app/app.routes.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Route, Routes } from '@angular/router';
import { ComingSoonComponent } from './wartung/coming-soon/coming-soon.component';
import { pages } from './shared/types/pages';
import { ComingSoonComponent } from './wartung/coming-soon/coming-soon.component';

export const routes: Routes = pages
.map(
Expand Down
7 changes: 3 additions & 4 deletions src/app/kontakt/kontakt.component.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,9 @@ describe('KontaktComponent', () => {

beforeEach(async () => {
await TestBed.configureTestingModule({
imports: [KontaktComponent]
})
.compileComponents();

imports: [KontaktComponent],
}).compileComponents();

fixture = TestBed.createComponent(KontaktComponent);
component = fixture.componentInstance;
fixture.detectChanges();
Expand Down
6 changes: 2 additions & 4 deletions src/app/kontakt/kontakt.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ import { Component } from '@angular/core';
standalone: true,
imports: [],
templateUrl: './kontakt.component.html',
styleUrl: './kontakt.component.scss'
styleUrl: './kontakt.component.scss',
})
export class KontaktComponent {

}
export class KontaktComponent {}
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,9 @@ describe('BuntesIlmenauComponent', () => {

beforeEach(async () => {
await TestBed.configureTestingModule({
imports: [BuntesIlmenauComponent]
})
.compileComponents();

imports: [BuntesIlmenauComponent],
}).compileComponents();

fixture = TestBed.createComponent(BuntesIlmenauComponent);
component = fixture.componentInstance;
fixture.detectChanges();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ import { Component } from '@angular/core';
standalone: true,
imports: [],
templateUrl: './buntes-ilmenau.component.html',
styleUrl: './buntes-ilmenau.component.scss'
styleUrl: './buntes-ilmenau.component.scss',
})
export class BuntesIlmenauComponent {

}
export class BuntesIlmenauComponent {}
2 changes: 1 addition & 1 deletion src/app/one-page-areas/index/index.component.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<app-coming-soon/>
<app-coming-soon />
7 changes: 3 additions & 4 deletions src/app/one-page-areas/index/index.component.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,9 @@ describe('IndexComponent', () => {

beforeEach(async () => {
await TestBed.configureTestingModule({
imports: [IndexComponent]
})
.compileComponents();

imports: [IndexComponent],
}).compileComponents();

fixture = TestBed.createComponent(IndexComponent);
component = fixture.componentInstance;
fixture.detectChanges();
Expand Down
7 changes: 3 additions & 4 deletions src/app/one-page-areas/ueber-uns/ueber-uns.component.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,9 @@ describe('UeberUnsComponent', () => {

beforeEach(async () => {
await TestBed.configureTestingModule({
imports: [UeberUnsComponent]
})
.compileComponents();

imports: [UeberUnsComponent],
}).compileComponents();

fixture = TestBed.createComponent(UeberUnsComponent);
component = fixture.componentInstance;
fixture.detectChanges();
Expand Down
6 changes: 2 additions & 4 deletions src/app/one-page-areas/ueber-uns/ueber-uns.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ import { Component } from '@angular/core';
standalone: true,
imports: [],
templateUrl: './ueber-uns.component.html',
styleUrl: './ueber-uns.component.scss'
styleUrl: './ueber-uns.component.scss',
})
export class UeberUnsComponent {

}
export class UeberUnsComponent {}
6 changes: 3 additions & 3 deletions src/app/shared/components/shared-components.module.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { NgModule } from '@angular/core';
import { CommonModule, NgOptimizedImage } from '@angular/common';
import { HeaderComponent } from './header/header.component';
import { MatToolbarModule } from '@angular/material/toolbar';
import { NgModule } from '@angular/core';
import { MatTabsModule } from '@angular/material/tabs';
import { MatToolbarModule } from '@angular/material/toolbar';
import { RouterLink, RouterLinkActive } from '@angular/router';
import { HeaderComponent } from './header/header.component';

@NgModule({
declarations: [HeaderComponent],
Expand Down
6 changes: 3 additions & 3 deletions src/app/shared/types/pages.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { BuntnisPageComponent, Mainpage } from './pages.model';
import { KontaktComponent } from '../../kontakt/kontakt.component';
import { BuntesIlmenauComponent } from '../../one-page-areas/buntes-ilmenau/buntes-ilmenau.component';
import { IndexComponent } from '../../one-page-areas/index/index.component';
import { UeberUnsComponent } from '../../one-page-areas/ueber-uns/ueber-uns.component';
import { BuntesIlmenauComponent } from '../../one-page-areas/buntes-ilmenau/buntes-ilmenau.component';
import { KontaktComponent } from '../../kontakt/kontakt.component';
import { Mainpage } from './pages.model';

export const pages: Mainpage[] = [
{
Expand Down
10 changes: 5 additions & 5 deletions src/app/wartung/coming-soon/coming-soon.component.spec.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import { ComponentFixture, TestBed } from '@angular/core/testing';

import { ComingSoonComponent } from './coming-soon.component';
import { NgOptimizedImage } from '@angular/common';
import { FormsModule } from '@angular/forms';
import { MatCardModule } from '@angular/material/card';
import { MatProgressBarModule } from '@angular/material/progress-bar';
import { MatCheckboxModule } from '@angular/material/checkbox';
import { MatListModule } from '@angular/material/list';
import { MatProgressBarModule } from '@angular/material/progress-bar';
import { NgxSplideModule } from 'ngx-splide';
import { NgOptimizedImage } from '@angular/common';
import { MatCheckboxModule } from '@angular/material/checkbox';
import { FormsModule } from '@angular/forms';
import { ComingSoonComponent } from './coming-soon.component';

describe('ComingSoonComponent', () => {
let component: ComingSoonComponent;
Expand Down
12 changes: 6 additions & 6 deletions src/app/wartung/coming-soon/coming-soon.component.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import { NgForOf, NgOptimizedImage } from '@angular/common';
import { Component } from '@angular/core';
import { ProgressStepGroup } from './types/progress-step.type';
import { FormsModule } from '@angular/forms';
import { MatCardModule } from '@angular/material/card';
import { NgxSplideModule } from 'ngx-splide';
import { NgForOf, NgOptimizedImage } from '@angular/common';
import { MatProgressBarModule } from '@angular/material/progress-bar';
import { MatListModule } from '@angular/material/list';
import { MatCheckboxModule } from '@angular/material/checkbox';
import { FormsModule } from '@angular/forms';
import { MatListModule } from '@angular/material/list';
import { MatProgressBarModule } from '@angular/material/progress-bar';
import { NgxSplideModule } from 'ngx-splide';
import { ProgressStepGroup } from './types/progress-step.type';

@Component({
standalone: true,
Expand Down
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { bootstrapApplication } from '@angular/platform-browser';
import { appConfig } from './app/app.config';
import { AppComponent } from './app/app.component';
import { appConfig } from './app/app.config';

bootstrapApplication(AppComponent, appConfig).catch((err) =>
console.error(err),
Expand Down

0 comments on commit 517ac0e

Please sign in to comment.