Authored by 沈志敏

代码检查

@@ -17,8 +17,8 @@ @@ -17,8 +17,8 @@
17 "lint-css": "stylelint --syntax scss --config .stylelintrc public/scss/**/*.css", 17 "lint-css": "stylelint --syntax scss --config .stylelintrc public/scss/**/*.css",
18 "lint-vue-js": "eslint -c .eslintrc --cache public/vue/**/*.vue", 18 "lint-vue-js": "eslint -c .eslintrc --cache public/vue/**/*.vue",
19 "lint-vue-css": "stylelint --syntax scss --extract --config .stylelintrc public/vue/**/*.vue", 19 "lint-vue-css": "stylelint --syntax scss --extract --config .stylelintrc public/vue/**/*.vue",
20 - "lint-all": "node check.js",  
21 - "precommit": "node lint.js" 20 + "lint-all": "node lint-all.js",
  21 + "precommit": "node lint-commit.js"
22 }, 22 },
23 "license": "MIT", 23 "license": "MIT",
24 "dependencies": { 24 "dependencies": {