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": { "lint-staged": {
"*.{js,jsx,vue,ts,tsx}": [ "*.{js,jsx,vue,ts,tsx}": [
"prettier --write", "prettier --write",
"npm run lint:fix", "npm run lint:fix"
"git add ."
], ],
"*.{html,vue,vss,sass,less}": [ "*.{html,vue,vss,sass,less}": [
"npm run stylelint:fix", "npm run stylelint:fix"
"git add ."
] ]
} }
} }