run stylelint for the project

This commit is contained in:
LouisLam
2021-08-24 23:38:25 +08:00
parent 2b68be52b0
commit 302d2665d2
10 changed files with 45 additions and 40 deletions

View File

@@ -11,7 +11,7 @@
},
"scripts": {
"lint:js": "eslint --ext \".js,.vue\" --ignore-path .gitignore .",
"lint:style": "stylelint \"**/*.{vue,css}\" --ignore-path .gitignore",
"lint:style": "stylelint \"**/*.{vue,css,scss}\" --ignore-path .gitignore",
"lint": "npm run lint:js && npm run lint:style",
"dev": "vite --host",
"start": "npm run start-server",