Skip to content

Commit

Permalink
fix: remove git add from the lint-staged config
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenwade committed Jan 27, 2021
1 parent 91c47d2 commit 2a4e9af
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
3 changes: 1 addition & 2 deletions src/generators/linting-ts/templates/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@
"lint-staged": {
"*.ts": [
"eslint --fix",
"prettier --write",
"git add"
"prettier --write"
]
},
"scripts": {
Expand Down
3 changes: 1 addition & 2 deletions src/generators/linting/templates/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@
"lint-staged": {
"*.js": [
"eslint --fix",
"prettier --write",
"git add"
"prettier --write"
]
},
"scripts": {
Expand Down
3 changes: 1 addition & 2 deletions test/snapshots/fully-loaded-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,7 @@
"lint-staged": {
"*.js": [
"eslint --fix",
"prettier --write",
"git add"
"prettier --write"
]
}
}

0 comments on commit 2a4e9af

Please sign in to comment.