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 ...@@ -8,7 +8,7 @@ _roadhog-api-doc
# production # production
/dist /dist
/vscode /.vscode
# misc # misc
.DS_Store .DS_Store
...@@ -21,4 +21,3 @@ yarn.lock ...@@ -21,4 +21,3 @@ yarn.lock
package-lock.json package-lock.json
*bak *bak
jsconfig.json jsconfig.json
.vscode/settings.json
...@@ -89,7 +89,7 @@ ...@@ -89,7 +89,7 @@
"prettier --write", "prettier --write",
"git add" "git add"
], ],
"**/*.{js,jsx}": "lint-staged:js", "**/*.{js,jsx}": "npm run lint-staged:js",
"**/*.less": "stylelint --syntax less" "**/*.less": "stylelint --syntax less"
}, },
"engines": { "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