Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
toplenboren committed Apr 17, 2024
1 parent b859665 commit 0433a04
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Expand Up @@ -75,7 +75,7 @@ If you need multiple verbose commands per git hook, flexible configuration or au
{
"simple-git-hooks": {
"pre-commit": "npx lint-staged",
"pre-push": "cd ../../ && npm run format",
"pre-push": "npm run format",

// All unused hooks will be removed automatically by default
// but you can use the `preserveUnused` option like following to prevent this behavior
Expand Down Expand Up @@ -129,7 +129,7 @@ This way `simple-git-hooks` configuration in `package.json` will not take effect
```js
module.exports = {
"pre-commit": "npx lint-staged",
"pre-push": "cd ../../ && npm run format",
"pre-push": "npm run format",
};
```

Expand All @@ -138,7 +138,7 @@ module.exports = {
```json
{
"pre-commit": "npx lint-staged",
"pre-push": "cd ../../ && npm run format"
"pre-push": "npm run format"
}
```

Expand Down

0 comments on commit 0433a04

Please sign in to comment.