mirror of https://gitee.com/answerdev/answer.git
ci(linting): remove unnecessary `git add` command during linting
This commit is contained in:
parent
c828289903
commit
d9d4e6a204
|
@ -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"]
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue