Skip to content

Commit 477aee2

Browse files
renovate[bot]sxzz
andauthored
fix(deps): update dependency eslint-plugin-unicorn to v43 (element-plus#8610)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: 三咲智子 <sxzz@sxzz.moe>
1 parent cc714f1 commit 477aee2

File tree

3 files changed

+17
-12
lines changed

3 files changed

+17
-12
lines changed

internal/eslint-config/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"eslint-plugin-jsonc": "^2.3.0",
2424
"eslint-plugin-markdown": "^3.0.0",
2525
"eslint-plugin-prettier": "^4.1.0",
26-
"eslint-plugin-unicorn": "^42.0.0",
26+
"eslint-plugin-unicorn": "^43.0.2",
2727
"eslint-plugin-vue": "^9.1.1",
2828
"jsonc-eslint-parser": "^2.1.0",
2929
"prettier": "^2.7.1",

packages/components/slider/src/composables/use-marks.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export const useMarks = (props: SliderProps) => {
1515

1616
const marksKeys = Object.keys(props.marks)
1717
return marksKeys
18-
.map(parseFloat)
18+
.map(Number.parseFloat)
1919
.sort((a, b) => a - b)
2020
.filter((point) => point <= props.max && point >= props.min)
2121
.map(

pnpm-lock.yaml

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

0 commit comments

Comments
 (0)