ci: use prettier experimental cli (#22411)

This commit is contained in:
Noblet Ouways
2025-10-04 11:44:59 +02:00
committed by GitHub
parent 85fe9b86d2
commit 9f7cd8cdf6

View File

@@ -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"
]
}
}