Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .prettierrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
"singleQuote": true,
"overrides": [
{
"files": ["*.json5"],
"files": ["**/*.json5"],
Copy link
Contributor Author

@btea btea Oct 15, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Avoid adding --experimental-cli option and causing overrides configuration to not take effect. refer to prettier/prettier-cli#70 (comment)

"options": {
"singleQuote": false,
"quoteProps": "preserve"
}
},
{
"files": ["*.yml"],
"files": ["**/*.yml"],
"options": {
"singleQuote": false
}
Expand Down
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
"scripts": {
"preinstall": "npx only-allow pnpm",
"postinstall": "simple-git-hooks",
"format": "prettier --write --cache .",
"lint": "eslint --cache .",
"format": "prettier --write --cache . --experimental-cli",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"lint": "eslint --cache . --concurrency auto",
"typecheck": "tsc -p scripts && pnpm -r --parallel run typecheck",
"test": "pnpm test-unit && pnpm test-serve && pnpm test-build",
"test-serve": "vitest run -c vitest.config.e2e.ts",
Expand Down Expand Up @@ -78,16 +78,16 @@
},
"lint-staged": {
"*": [
"prettier --write --cache --ignore-unknown"
"prettier --write --cache --ignore-unknown --experimental-cli"
],
"packages/*/{src,types}/**/*.ts": [
"eslint --cache --fix"
"eslint --cache --fix --concurrency auto"
],
"packages/**/*.d.ts": [
"eslint --cache --fix"
"eslint --cache --fix --concurrency auto"
],
"playground/**/__tests__/**/*.ts": [
"eslint --cache --fix"
"eslint --cache --fix --concurrency auto"
]
},
"packageManager": "[email protected]",
Expand Down