change prettier to fix:format (#2936)

* change prettier to fix:format

* empty commit

---------

Co-authored-by: daishi <daishi@axlight.com>
This commit is contained in:
David Maskasky 2025-01-05 19:36:20 -08:00 committed by GitHub
parent 6759fcbb58
commit 07b32d68ad
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View File

@ -8,4 +8,4 @@ Fixes #
## Check List
- [ ] `pnpm run prettier` for formatting code and docs
- [ ] `pnpm run fix:format` for formatting code and docs

View File

@ -64,8 +64,8 @@
"build:react:shallow": "rollup -c --config-react_shallow",
"build:traditional": "rollup -c --config-traditional",
"postbuild": "pnpm patch-d-ts && pnpm copy && pnpm patch-old-ts && pnpm patch-esm-ts",
"prettier": "prettier \"*.{js,json,md}\" \"{examples,src,tests,docs}/**/*.{js,jsx,ts,tsx,md,mdx}\" --write",
"eslint": "eslint . --fix",
"fix:format": "prettier \"*.{js,json,md}\" \"{examples,src,tests,docs}/**/*.{js,jsx,ts,tsx,md,mdx}\" --write",
"fix:lint": "eslint . --fix",
"test": "pnpm run '/^test:.*/'",
"test:format": "prettier '*.{js,json,md}' '{examples,src,tests,docs}/**/*.{js,jsx,ts,tsx,md,mdx}' --list-different",
"test:types": "tsc --noEmit",