Skip to content

Commit 136e67b

Browse files
renovate[bot]cexbrayat
authored andcommitted
chore(deps): update dependency prettier to v3 and eslint-plugin-prettier to v5
1 parent ffbb7cf commit 136e67b

File tree

3 files changed

+191
-20
lines changed

3 files changed

+191
-20
lines changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,12 @@
4444
"@vue/server-renderer": "3.3.4",
4545
"eslint": "8.44.0",
4646
"eslint-config-prettier": "8.8.0",
47-
"eslint-plugin-prettier": "4.2.1",
47+
"eslint-plugin-prettier": "5.0.0",
4848
"husky": "8.0.3",
4949
"jsdom": "22.1.0",
5050
"jsdom-global": "3.0.2",
5151
"lint-staged": "13.2.3",
52-
"prettier": "2.8.8",
52+
"prettier": "3.0.0",
5353
"reflect-metadata": "0.1.13",
5454
"rollup": "3.26.1",
5555
"tslib": "2.6.0",
@@ -121,4 +121,4 @@
121121
]
122122
}
123123
}
124-
}
124+
}

pnpm-lock.yaml

Lines changed: 181 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/utils.ts

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -153,10 +153,13 @@ export function isRefSelector(
153153
export function convertStubsToRecord(stubs: Stubs) {
154154
if (Array.isArray(stubs)) {
155155
// ['Foo', 'Bar'] => { Foo: true, Bar: true }
156-
return stubs.reduce((acc, current) => {
157-
acc[current] = true
158-
return acc
159-
}, {} as Record<string, Stub>)
156+
return stubs.reduce(
157+
(acc, current) => {
158+
acc[current] = true
159+
return acc
160+
},
161+
{} as Record<string, Stub>
162+
)
160163
}
161164

162165
return stubs

0 commit comments

Comments
 (0)