Commit 6c1b112a authored by 陈帅's avatar 陈帅

fix #1681 `lint-staged` no longer supports running scripts defined in package.json.

parent 0f9f7678
......@@ -8,7 +8,7 @@ _roadhog-api-doc
# production
/dist
/vscode
/.vscode
# misc
.DS_Store
......@@ -21,4 +21,3 @@ yarn.lock
package-lock.json
*bak
jsconfig.json
.vscode/settings.json
......@@ -89,7 +89,7 @@
"prettier --write",
"git add"
],
"**/*.{js,jsx}": "lint-staged:js",
"**/*.{js,jsx}": "npm run lint-staged:js",
"**/*.less": "stylelint --syntax less"
},
"engines": {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment