Authored by ccbikai(👎🏻🍜)

代码检查命令

@@ -13,7 +13,8 @@ @@ -13,7 +13,8 @@
13 "online": "NODE_ENV=\"production\" node app.js", 13 "online": "NODE_ENV=\"production\" node app.js",
14 "debug": "DEBUG=\"express:*\" nodemon -e js,hbs -i public/ app.js", 14 "debug": "DEBUG=\"express:*\" nodemon -e js,hbs -i public/ app.js",
15 "lint-js": "eslint -c .eslintrc --cache .", 15 "lint-js": "eslint -c .eslintrc --cache .",
16 - "lint-css": "stylelint --config .stylelintrc public/scss/**/*.css", 16 + "lint-css": "stylelint --syntax scss --config .stylelintrc public/scss/**/*.css",
  17 + "lint-vue": "eslint -c .eslintrc --cache public/vue/**/*.vue || stylelint --syntax scss --extract --config .stylelintrc public/vue/**/*.vue",
17 "precommit": "node lint.js" 18 "precommit": "node lint.js"
18 }, 19 },
19 "license": "MIT", 20 "license": "MIT",