mirror of
https://github.com/pmndrs/zustand.git
synced 2025-12-08 19:45:52 +00:00
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:
parent
6759fcbb58
commit
07b32d68ad
2
.github/pull_request_template.md
vendored
2
.github/pull_request_template.md
vendored
@ -8,4 +8,4 @@ Fixes #
|
||||
|
||||
## Check List
|
||||
|
||||
- [ ] `pnpm run prettier` for formatting code and docs
|
||||
- [ ] `pnpm run fix:format` for formatting code and docs
|
||||
|
||||
@ -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",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user