Skip to content

Commit

Permalink
Fix: Remove warning when running lint staged pre-commit hook
Browse files Browse the repository at this point in the history
Running `git add` is obsolete with the lint-staged version in use.
  • Loading branch information
bjoernricks committed Apr 3, 2024
1 parent c1e3757 commit 5317f6c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,7 @@
},
"lint-staged": {
"*.{js,json}": [
"prettier --write",
"git add"
"prettier --write"
]
}
}

0 comments on commit 5317f6c

Please # to comment.