Skip to content

Commit 86106c2

Browse files
committed
chore: add format:check script for CI
1 parent 59ef2e0 commit 86106c2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
"serve": "docusaurus serve",
1111
"lint": "eslint . --ext .js,.jsx,.ts,.tsx --fix",
1212
"format": "prettier --write .",
13-
"typecheck": "tsc --noEmit"
13+
"typecheck": "tsc --noEmit",
14+
"format:check": "prettier --check . && eslint . --ext .js,.jsx,.ts,.tsx"
1415
},
1516
"dependencies": {
1617
"@docusaurus/core": "^3.8.1",

0 commit comments

Comments
 (0)