调整 lint-staged 配置

This commit is contained in:
hooray
2022-03-05 05:21:07 +08:00
parent dc39e24d18
commit 4f9b43f3f8
+2 -2
View File
@@ -1,5 +1,5 @@
{
"src/**/*.{js,jsx}": "eslint --fix",
"src/**/*.{css,scss}": "stylelint --fix",
"src/**/*.vue": ["eslint --fix", "stylelint --fix"]
"src/**/*.{css,scss}": "stylelint --fix --allow-empty-input",
"src/**/*.vue": ["eslint --fix", "stylelint --fix --allow-empty-input"]
}