update prettier

This commit is contained in:
Igor Hrenowitsch Propisnov 2024-03-14 20:32:51 +01:00
parent e85767e324
commit f7b332c444
6 changed files with 1098 additions and 1097 deletions

View File

@ -1,6 +1,7 @@
{ {
"singleQuote": true, "singleQuote": true,
"trailingComma": "none", "trailingComma": "es5",
"semi": true,
"endOfLine": "auto", "endOfLine": "auto",
"bracketSameLine": true, "bracketSameLine": true,
"htmlWhitespaceSensitivity": "ignore" "htmlWhitespaceSensitivity": "ignore"

View File

@ -10,7 +10,7 @@
"test:watch": "jest --watch", "test:watch": "jest --watch",
"test:coverage": "jest --coverage", "test:coverage": "jest --coverage",
"lint": "ng lint", "lint": "ng lint",
"prettier:fix": "npx prettier . --write" "prettier:fix": "npx prettier --write ."
}, },
"private": true, "private": true,
"dependencies": { "dependencies": {

File diff suppressed because it is too large Load Diff

View File

@ -4,7 +4,7 @@ import { AppComponent } from './app.component';
describe('AppComponent', () => { describe('AppComponent', () => {
beforeEach(async () => { beforeEach(async () => {
await TestBed.configureTestingModule({ await TestBed.configureTestingModule({
imports: [AppComponent] imports: [AppComponent],
}).compileComponents(); }).compileComponents();
}); });

View File

@ -6,7 +6,7 @@ import { RouterOutlet } from '@angular/router';
standalone: true, standalone: true,
imports: [RouterOutlet], imports: [RouterOutlet],
templateUrl: './app.component.html', templateUrl: './app.component.html',
styleUrl: './app.component.scss' styleUrl: './app.component.scss',
}) })
export class AppComponent { export class AppComponent {
title = 'frontend'; title = 'frontend';

View File

@ -4,5 +4,5 @@ import { provideRouter } from '@angular/router';
import { routes } from './app.routes'; import { routes } from './app.routes';
export const appConfig: ApplicationConfig = { export const appConfig: ApplicationConfig = {
providers: [provideRouter(routes)] providers: [provideRouter(routes)],
}; };