Skip to content

Commit

Permalink
build(prettier): update prettier to ^3.4.3 and run format
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremy-eychenne committed Dec 12, 2024
1 parent b944862 commit d88da38
Show file tree
Hide file tree
Showing 8 changed files with 26 additions and 12 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
"karma-jasmine": "~5.1.0",
"karma-jasmine-html-reporter": "~2.0.0",
"ng-packagr": "~15.2.2",
"prettier": "^2.0.3",
"prettier": "^3.4.2",
"protractor": "~7.0.0",
"ts-node": "~8.3.0",
"typescript": "~4.8.4"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@ export class ControlAttributionComponent implements OnInit, OnDestroy {
instance: Attribution;
target: HTMLElement;

constructor(private map: MapComponent, private element: ElementRef) {}
constructor(
private map: MapComponent,
private element: ElementRef
) {}

ngOnInit(): void {
this.target = this.element.nativeElement;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,10 @@ export class ControlMousePositionComponent implements OnInit, OnDestroy {

instance: MousePosition;

constructor(private map: MapComponent, private element: ElementRef) {}
constructor(
private map: MapComponent,
private element: ElementRef
) {}

ngOnInit(): void {
this.target = this.element.nativeElement;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@ export abstract class SimpleGeometryComponent implements OnInit {
instance: SimpleGeometry;
componentType = 'simple-geometry';

constructor(protected map: MapComponent, protected host: FeatureComponent) {}
constructor(
protected map: MapComponent,
protected host: FeatureComponent
) {}

ngOnInit(): void {
this.host.instance.setGeometry(this.instance);
Expand Down
5 changes: 4 additions & 1 deletion src/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,10 @@ import { Component } from '@angular/core';
font-family: Roboto, sans-serif;
font-size: 16px;
opacity: 1;
box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12);
box-shadow:
0 2px 4px -1px rgba(0, 0, 0, 0.2),
0 4px 5px 0 rgba(0, 0, 0, 0.14),
0 1px 10px 0 rgba(0, 0, 0, 0.12);
}
header h1 {
Expand Down
4 changes: 2 additions & 2 deletions src/app/cluster/cluster.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ import { Component, OnInit } from '@angular/core';
[1.47, 43.545],
[1.51, 43.545],
[1.51, 43.565],
[1.47, 43.565]
]
[1.47, 43.565],
],
]"
[srid]="'EPSG:4326'"
>
Expand Down
4 changes: 3 additions & 1 deletion src/app/swipe/swipe.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ import { MapComponent } from 'ngx-openlayers';
styles: [
`
.swipe-button {
box-shadow: 0 3px 5px -1px rgba(0, 0, 0, 0.2), 0 6px 10px 0 rgba(0, 0, 0, 0.14),
box-shadow:
0 3px 5px -1px rgba(0, 0, 0, 0.2),
0 6px 10px 0 rgba(0, 0, 0, 0.14),
0 1px 18px 0 rgba(0, 0, 0, 0.12);
background-color: #0a2340;
color: white;
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7815,10 +7815,10 @@ prelude-ls@^1.2.1:
resolved "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz#debc6489d7a6e6b0e7611888cec880337d316396"
integrity sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==

prettier@^2.0.3:
version "2.8.8"
resolved "https://registry.npmjs.org/prettier/-/prettier-2.8.8.tgz#e8c5d7e98a4305ffe3de2e1fc4aca1a71c28b1da"
integrity sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==
prettier@^3.4.2:
version "3.4.2"
resolved "https://registry.npmjs.org/prettier/-/prettier-3.4.2.tgz#a5ce1fb522a588bf2b78ca44c6e6fe5aa5a2b13f"
integrity sha512-e9MewbtFo+Fevyuxn/4rrcDAaq0IYxPGLvObpQjiZBMAzB9IGmzlnG9RZy3FFas+eBMu2vA0CszMeduow5dIuQ==

pretty-bytes@^5.3.0:
version "5.6.0"
Expand Down

0 comments on commit d88da38

Please sign in to comment.