mirror of
https://github.com/element-plus/element-plus.git
synced 2026-03-13 07:51:17 +08:00
ci: use prettier experimental cli (#22411)
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
"clean:dist": "rimraf dist",
|
||||
"build": "pnpm run -C internal/build start",
|
||||
"build:theme": "pnpm run -C packages/theme-chalk build",
|
||||
"format": "prettier --write --cache .",
|
||||
"format": "prettier --write --experimental-cli .",
|
||||
"lint": "eslint . --ext .vue,.js,.ts,.jsx,.tsx,.md,.json --max-warnings 0 --cache",
|
||||
"lint:fix": "pnpm run lint --fix",
|
||||
"lint:commit": "commitlint",
|
||||
@@ -146,7 +146,7 @@
|
||||
"lint-staged": {
|
||||
"*.{vue,js,ts,jsx,tsx,md,json}": [
|
||||
"eslint --fix",
|
||||
"prettier --write"
|
||||
"prettier --write --experimental-cli"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user