Skip to content

Commit 478c4b6

Browse files
committed
add format and lint command to root package.json
1 parent b0b37bf commit 478c4b6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,10 @@
5252
"jest-snapshot": "29.3.1"
5353
},
5454
"scripts": {
55+
"format": "prettier --write . --cache --cache-strategy content",
56+
"format:check": "prettier --check .",
57+
"lint": "eslint . --config eslint.config.mjs --cache --cache-strategy content",
58+
"lint:fix": "eslint --fix . --config eslint.config.mjs",
5559
"build": "yarn build:packages",
5660
"test": "yarn test:packages",
5761
"install": "yarn build:configs",

0 commit comments

Comments
 (0)