Skip to content

Commit 1f29fa6

Browse files
author
Don McCurdy
authored
chore(deps): Upgrade to Prettier 3.4 (#58)
1 parent efebb5c commit 1f29fa6

12 files changed

Lines changed: 43 additions & 34 deletions

File tree

examples/01-pure-js/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!DOCTYPE html>
1+
<!doctype html>
22
<html lang="en-US">
33
<head>
44
<meta charset="utf-8" />

examples/02-react/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!DOCTYPE html>
1+
<!doctype html>
22
<html lang="en-US">
33
<head>
44
<meta charset="utf-8" />

examples/03-svelte/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!DOCTYPE html>
1+
<!doctype html>
22
<html lang="en-US">
33
<head>
44
<meta charset="utf-8" />

examples/04-vue/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!DOCTYPE html>
1+
<!doctype html>
22
<html lang="en-US">
33
<head>
44
<meta charset="utf-8" />

examples/05-spatial-index/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!DOCTYPE html>
1+
<!doctype html>
22
<html lang="en-US">
33
<head>
44
<meta charset="utf-8" />

examples/components/widgets/category-widget.ts

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export class CategoryWidget extends BaseWidget {
3434

3535
protected _chart: echarts.ECharts | null = null;
3636
protected _chartRef: Ref<HTMLElement> = createRef();
37-
protected declare _filterValues: string[];
37+
declare protected _filterValues: string[];
3838

3939
constructor() {
4040
super();
@@ -73,11 +73,13 @@ export class CategoryWidget extends BaseWidget {
7373
override render() {
7474
return this._task.render({
7575
pending: () =>
76-
cache(html`<h3>${this.header}</h3>
77-
<figure>
78-
<div class="chart chart-skeleton"></div>
79-
<figcaption>${this.caption}</figcaption>
80-
</figure>`),
76+
cache(
77+
html`<h3>${this.header}</h3>
78+
<figure>
79+
<div class="chart chart-skeleton"></div>
80+
<figcaption>${this.caption}</figcaption>
81+
</figure>`
82+
),
8183
complete: () =>
8284
cache(html`
8385
<h3>${this.header}</h3>

examples/components/widgets/histogram-widget.ts

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -75,11 +75,13 @@ export class HistogramWidget extends BaseWidget {
7575
override render() {
7676
return this._task.render({
7777
pending: () =>
78-
cache(html`<h3>${this.header}</h3>
79-
<figure>
80-
<div class="chart chart-skeleton"></div>
81-
<figcaption>${this.caption}</figcaption>
82-
</figure>`),
78+
cache(
79+
html`<h3>${this.header}</h3>
80+
<figure>
81+
<div class="chart chart-skeleton"></div>
82+
<figcaption>${this.caption}</figcaption>
83+
</figure>`
84+
),
8385
complete: () =>
8486
cache(html`
8587
<h3>${this.header}</h3>

examples/components/widgets/scatter-widget.ts

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -83,11 +83,13 @@ export class ScatterWidget extends BaseWidget {
8383
override render() {
8484
return this._task.render({
8585
pending: () =>
86-
cache(html`<h3>${this.header}</h3>
87-
<figure>
88-
<div class="chart chart-skeleton"></div>
89-
<figcaption>${this.caption}</figcaption>
90-
</figure>`),
86+
cache(
87+
html`<h3>${this.header}</h3>
88+
<figure>
89+
<div class="chart chart-skeleton"></div>
90+
<figcaption>${this.caption}</figcaption>
91+
</figure>`
92+
),
9193
complete: () =>
9294
cache(html`
9395
<h3>${this.header}</h3>

examples/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!DOCTYPE html>
1+
<!doctype html>
22
<html lang="en-GB">
33
<head>
44
<meta charset="utf-8" />

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@
8787
"lit-analyzer": "^1.2.1",
8888
"maplibre-gl": "^5.0.0",
8989
"microbundle": "^0.15.1",
90-
"prettier": "^2.6.2",
90+
"prettier": "^3.4.2",
9191
"react": "^18.3.1",
9292
"react-dom": "^18.3.1",
9393
"react-map-gl": "^7.1.7",

0 commit comments

Comments
 (0)