chore: lint-staged remove git add (#515)

This commit is contained in:
liweijie0812 2023-05-19 10:47:10 +08:00 committed by GitHub
parent 7a7ee4ab7c
commit e773936369
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -83,12 +83,10 @@
"lint-staged": {
"*.{js,jsx,vue,ts,tsx}": [
"prettier --write",
"npm run lint:fix",
"git add ."
"npm run lint:fix"
],
"*.{html,vue,vss,sass,less}": [
"npm run stylelint:fix",
"git add ."
"npm run stylelint:fix"
]
}
}