mirror of
https://github.com/pmndrs/zustand.git
synced 2025-12-08 19:45:52 +00:00
add pnpm run fix script and update pr template (#2996)
This commit is contained in:
parent
49ee6313db
commit
7df4874200
2
.github/pull_request_template.md
vendored
2
.github/pull_request_template.md
vendored
@ -8,4 +8,4 @@ Fixes #
|
||||
|
||||
## Check List
|
||||
|
||||
- [ ] `pnpm run fix:format` for formatting code and docs
|
||||
- [ ] `pnpm run fix` for formatting and linting code and docs
|
||||
|
||||
@ -64,6 +64,7 @@
|
||||
"build:react:shallow": "rollup -c --config-react_shallow",
|
||||
"build:traditional": "rollup -c --config-traditional",
|
||||
"postbuild": "pnpm run patch-d-ts && pnpm run copy && pnpm run patch-old-ts && pnpm run patch-esm-ts",
|
||||
"fix": "pnpm run \"/^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:.*/\"",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user