Skip to content

Commit 3281177

Browse files
committed
Update prettier to 2.8.8 + Prettify
1 parent bad942b commit 3281177

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

apps/react-hook-tracer-demo/src/demos/ContextDemo.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import './ContextDemo.css'
66

77
const themes = ['dark', 'light'] as const
88

9-
type Theme = typeof themes[number]
9+
type Theme = (typeof themes)[number]
1010

1111
const themeNames: Record<Theme, string> = { dark: 'Dark', light: 'Light' }
1212

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
"eslint-plugin-jest": "27.1.5",
6363
"eslint-plugin-react": "^7.31.10",
6464
"eslint-plugin-react-hooks": "^4.6.0",
65-
"prettier": "^2.7.1",
65+
"prettier": "^2.8.8",
6666
"tslib": "^2.4.1",
6767
"typescript": "^4.9.3"
6868
},

packages/react-hook-tracer/src/components/DelaySelector.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const sessionStorageKeyBase = '@@react-hook-tracer--persistent-state:'
88
export const sessionReplayTimerDelayKey = sessionStorageKeyBase + 'replayTimerDelay'
99

1010
const allDelayValues = [0.25, 0.5, 1, 2, 5, 10] as const
11-
export type Delay = typeof allDelayValues[number]
11+
export type Delay = (typeof allDelayValues)[number]
1212

1313
const isDelay = (n: number): n is Delay => util.isIncluded(allDelayValues, n)
1414

yarn.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11427,12 +11427,12 @@ __metadata:
1142711427
languageName: node
1142811428
linkType: hard
1142911429

11430-
"prettier@npm:^2.7.1":
11431-
version: 2.7.1
11432-
resolution: "prettier@npm:2.7.1"
11430+
"prettier@npm:^2.8.8":
11431+
version: 2.8.8
11432+
resolution: "prettier@npm:2.8.8"
1143311433
bin:
1143411434
prettier: bin-prettier.js
11435-
checksum: 55a4409182260866ab31284d929b3cb961e5fdb91fe0d2e099dac92eaecec890f36e524b4c19e6ceae839c99c6d7195817579cdffc8e2c80da0cb794463a748b
11435+
checksum: b49e409431bf129dd89238d64299ba80717b57ff5a6d1c1a8b1a28b590d998a34e083fa13573bc732bb8d2305becb4c9a4407f8486c81fa7d55100eb08263cf8
1143611436
languageName: node
1143711437
linkType: hard
1143811438

@@ -11757,7 +11757,7 @@ __metadata:
1175711757
eslint-plugin-jest: 27.1.5
1175811758
eslint-plugin-react: ^7.31.10
1175911759
eslint-plugin-react-hooks: ^4.6.0
11760-
prettier: ^2.7.1
11760+
prettier: ^2.8.8
1176111761
tslib: ^2.4.1
1176211762
typescript: ^4.9.3
1176311763
languageName: unknown

0 commit comments

Comments
 (0)