Skip to content

Commit 07b32d6

Browse files
dmaskaskydai-shi
andauthored
change prettier to fix:format (#2936)
* change prettier to fix:format * empty commit --------- Co-authored-by: daishi <[email protected]>
1 parent 6759fcb commit 07b32d6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/pull_request_template.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ Fixes #
88

99
## Check List
1010

11-
- [ ] `pnpm run prettier` for formatting code and docs
11+
- [ ] `pnpm run fix:format` for formatting code and docs

package.json

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

0 commit comments

Comments
 (0)