chore: biome config indentSize to indentWidth (#48988)

Co-authored-by: liangchaofei <liangchaofei@liangchaofeideMacBook-Pro.local>
This commit is contained in:
curry 2024-05-20 16:46:59 +08:00 committed by GitHub
parent bf265c0efe
commit 35015c7b4f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 8 additions and 21 deletions

View File

@ -5,7 +5,7 @@
"ignore": ["./dist/*", "./es/**/*", "./lib/**/*", "_site/**/*"],
"indentStyle": "space",
"lineWidth": 100,
"indentSize": 2
"indentWidth": 2
},
"javascript": {
"formatter": {

View File

@ -128,7 +128,9 @@ const getVerticalStyle: GenerateStyle<MenuToken> = (token) => {
`border-color ${motionDurationSlow}`,
`background ${motionDurationSlow}`,
`padding ${motionDurationMid} ${motionEaseOut}`,
`padding-inline calc(50% - ${unit(token.calc(fontSizeLG).div(2).equal())} - ${unit(itemMarginInline)})`,
`padding-inline calc(50% - ${unit(token.calc(fontSizeLG).div(2).equal())} - ${unit(
itemMarginInline,
)})`,
].join(','),
[`> ${componentCls}-title-content`]: {

View File

@ -26,23 +26,13 @@
"url": "https://opencollective.com/ant-design"
},
"license": "MIT",
"contributors": [
"ant"
],
"sideEffects": [
"*.css"
],
"contributors": ["ant"],
"sideEffects": ["*.css"],
"main": "lib/index.js",
"unpkg": "dist/antd.min.js",
"module": "es/index.js",
"typings": "es/index.d.ts",
"files": [
"dist",
"es",
"lib",
"locale",
"BUG_VERSIONS.json"
],
"files": ["dist", "es", "lib", "locale", "BUG_VERSIONS.json"],
"scripts": {
"api-collection": "antd-tools run api-collection",
"authors": "tsx scripts/generate-authors.ts",
@ -109,12 +99,7 @@
"*.{ts,tsx,js,jsx}": "biome format --write",
"*.{json,less,md}": "prettier --ignore-unknown --write"
},
"browserslist": [
"> 0.5%",
"last 2 versions",
"Firefox ESR",
"not dead"
],
"browserslist": ["> 0.5%", "last 2 versions", "Firefox ESR", "not dead"],
"dependencies": {
"@ant-design/colors": "^7.0.2",
"@ant-design/cssinjs": "^1.19.1",