feat: lint command

This commit is contained in:
wuji.xwt 2020-09-07 18:05:20 +08:00
parent 1952d07e86
commit fae976c660

View File

@ -18,8 +18,10 @@
"start:server": "./scripts/start-server.sh",
"test": "lerna run test --stream",
"test:snapshot": "lerna run test:snapshot",
"xima-fix": "xima fix",
"xima-scan": "xima scan"
"xima:fix": "xima fix",
"xima:scan": "xima scan",
"lint": "eslint ./ --quiet",
"lint:fix": "eslint ./ --quiet --fix"
},
"husky": {
"hooks": {