ci(linting): remove unnecessary `git add` command during linting

This commit is contained in:
haitao(lj) 2022-11-22 17:35:40 +08:00
parent c828289903
commit d9d4e6a204
1 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
{
"*.{js,jsx,ts,tsx}": ["eslint --cache --fix", "git add"],
"*.{js,jsx,scss,md,json}": ["prettier --write", "git add"],
"*.ts?(x)": ["prettier --parser=typescript --write", "git add"]
"*.{js,jsx,ts,tsx}": ["eslint --cache --fix"],
"*.{js,jsx,scss,md,json}": ["prettier --write"],
"*.ts?(x)": ["prettier --parser=typescript --write"]
}