Authored by ccbikai

升级 stylelint

{
"extends": "stylelint-config-yoho"
"extends": "stylelint-config-yoho",
"processors": ["stylelint-processor-html"]
}
... ...
... ... @@ -14,7 +14,7 @@
"debug": "DEBUG=\"express:*\" nodemon -e js,hbs -i public/ app.js",
"lint-js": "eslint -c .eslintrc --cache --fix .",
"lint-css": "stylelint --config .stylelintrc public/scss/**/*.css",
"lint-vue": "stylelint --extract --config .stylelintrc public/vue/**/*.vue || eslint -c .eslintrc --cache --fix public/vue/**/*.vue",
"lint-vue": "stylelint --extract --config .stylelintrc public/vue/**/*.vue",
"precommit": "node lint.js"
},
"license": "MIT",
... ... @@ -78,8 +78,9 @@
"precss": "^1.4.0",
"shelljs": "^0.7.3",
"style-loader": "^0.13.1",
"stylelint": "^6.9.0",
"stylelint-config-yoho": "1.2.5",
"stylelint": "^7.1.0",
"stylelint-config-yoho": "^1.2.6",
"stylelint-processor-html": "^1.0.0",
"vue": "1.0.26",
"vue-infinite-scroll": "0.2.3",
"vue-lazyload": "0.4.3",
... ...