Skip to content

Commit f1993df

Browse files
authored
chore: add scripts for fixing lint (#868)
1 parent edbdbb1 commit f1993df

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@
2020
"lint:prettier": "prettier \"{**/*,*}.{js,json,md,yml,css}\" --list-different",
2121
"lint:js": "eslint --cache src test",
2222
"lint": "npm-run-all -l -p \"lint:**\"",
23+
"fix:prettier": "npm run lint:prettier -- --write",
24+
"fix:js": "npm run lint:js -- --fix",
25+
"fix": "npm-run-all fix:js fix:prettier",
2326
"prepare": "husky install && npm run build",
2427
"build": "del dist && babel src -d dist --copy-files",
2528
"release": "standard-version",

0 commit comments

Comments
 (0)