fix: run prettier on all file to avoid prettier issue inside PR

This commit is contained in:
thomas
2024-01-07 21:41:36 +01:00
parent 3bc793f6b3
commit c8b7c5d4a6
195 changed files with 575 additions and 452 deletions

View File

@@ -1,5 +1,5 @@
import { defineConfig } from 'cypress';
import { nxComponentTestingPreset } from '@nx/angular/plugins/component-testing';
import { defineConfig } from 'cypress';
export default defineConfig({
component: nxComponentTestingPreset(__filename),

View File

@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html>
<head>
<meta charset="utf-8" />

View File

@@ -5,6 +5,8 @@ import { ChildComponent } from './child.component';
standalone: true,
imports: [ChildComponent],
selector: 'app-root',
template: ` <app-child></app-child> `,
template: `
<app-child></app-child>
`,
})
export class AppComponent {}

View File

@@ -14,7 +14,9 @@ import { HttpService } from './http.service';
selector: 'app-input',
standalone: true,
imports: [ReactiveFormsModule],
template: ` <input type="text" [formControl]="title" /> `,
template: `
<input type="text" [formControl]="title" />
`,
changeDetection: ChangeDetectionStrategy.OnPush,
})
export class InputComponent {
@@ -24,7 +26,9 @@ export class InputComponent {
@Component({
selector: 'result',
standalone: true,
template: ` <p>Title is {{ title }}</p> `,
template: `
<p>Title is {{ title }}</p>
`,
changeDetection: ChangeDetectionStrategy.OnPush,
})
export class ResultComponent {
@@ -34,7 +38,9 @@ export class ResultComponent {
@Component({
selector: 'app-button',
standalone: true,
template: `<button (click)="validate.emit()">Validate</button>`,
template: `
<button (click)="validate.emit()">Validate</button>
`,
changeDetection: ChangeDetectionStrategy.OnPush,
})
export class ButtonComponent {
@@ -44,7 +50,9 @@ export class ButtonComponent {
@Component({
selector: 'app-error',
standalone: true,
template: `<p>Title is required !!!</p>`,
template: `
<p>Title is required !!!</p>
`,
changeDetection: ChangeDetectionStrategy.OnPush,
})
export class ErrorComponent {

View File

@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />