Skip to content

Commit

Permalink
Merge pull request #116 from sounisi5011/commit-hook/remove-git-add-w…
Browse files Browse the repository at this point in the history
…ithin-lint-staged

Remove "git add" from the command executed by lint-staged
  • Loading branch information
sounisi5011 committed Apr 21, 2020
2 parents 7a310ed + 61754b6 commit 183738a
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,20 +67,17 @@
"git add ./README.md"
],
"!(package).json|*.{js,yaml,yml}": [
"prettier --write",
"git add"
"prettier --write"
],
"*.ts": [
"eslint --fix",
"git add"
"eslint --fix"
],
"README.md": [
"run-s test:readme --"
],
"package.json": [
"prettier-package-json --write",
"sort-package-json",
"git add"
"sort-package-json"
]
},
"ava": {
Expand Down

0 comments on commit 183738a

Please sign in to comment.