diff --git a/package.json b/package.json index 4b4e89d2..ef3e0a40 100644 --- a/package.json +++ b/package.json @@ -9,9 +9,9 @@ "build:prod": "vue-cli-service build", "build:stage": "vue-cli-service build --mode staging", "preview": "node build/index.js --preview", - "lint": "eslint --ext .js,.vue src && stylelint --aei .vue,.html src", - "lint:eslint": "eslint --ext .js,.vue src", - "lint:style": "stylelint --aei .vue,.html src", + "lint": "eslint --ext .js,.vue src && stylelint --aei .vue,.html.scss src", + "lint:js": "eslint --ext .js,.vue src", + "lint:style": "stylelint --aei .vue,.html.scss src", "test:unit": "jest --clearCache && vue-cli-service test:unit", "test:ci": "npm run lint && npm run test:unit", "svgo": "svgo -f src/icons/svg --config=src/icons/svgo.yml", @@ -27,7 +27,7 @@ "eslint --fix", "git add" ], - "src/**/*.{css,scss,vue,html}": [ + "src/**/*.{css,scss}": [ "stylelint", "git add" ]