Commit 7993e44f authored by 陈帅's avatar 陈帅

edit scripts

parent f7404bc5
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
"lint-staged": { "lint-staged": {
"**/*.less": "stylelint --syntax less", "**/*.less": "stylelint --syntax less",
"**/*.{js,ts,tsx,json,jsx,less}": [ "**/*.{js,ts,tsx,json,jsx,less}": [
"node ./scripts/lint-prettier.js", "node ./_scripts/lint-prettier.js",
"git add" "git add"
], ],
"**/*.{ts,tsx}": "npm run lint-staged:ts" "**/*.{ts,tsx}": "npm run lint-staged:ts"
......
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