diff --git a/package.json b/package.json index 0abbe9b2..f1837367 100644 --- a/package.json +++ b/package.json @@ -65,7 +65,8 @@ "lint-staged": { "*.{js,vue}": [ "prettier --write", - "vue-cli-service lint", + "stylelint \"**/*.{vue,less,postcss,css,scss}\" --cache --cache-location node_modules/.cache/stylelint/", + "eslint \"{src,mock}/**/*.{vue,js}\"", "git add" ] }