Skip to content

Commit

Permalink
fix(lint-staged): remove git add commands
Browse files Browse the repository at this point in the history
  • Loading branch information
JounQin committed Feb 7, 2020
1 parent dc82896 commit 6595d7f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions packages/lint-staged/ts-eslint.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"*.{ts,tsx}": [
"cross-env PARSER_NO_WATCH=true eslint --cache -f friendly --fix",
"git add"
"cross-env PARSER_NO_WATCH=true eslint --cache -f friendly --fix"
]
}
3 changes: 1 addition & 2 deletions packages/lint-staged/ts-tslint.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"!(*.d).ts?(x)": [
"tslint -p . -t stylish --fix",
"git add"
"tslint -p . -t stylish --fix"
]
}

0 comments on commit 6595d7f

Please sign in to comment.