Skip to content

Commit

Permalink
chore: husky commits even when error (#11790)
Browse files Browse the repository at this point in the history
  • Loading branch information
wardpeet authored and m-allanson committed Feb 15, 2019
1 parent dc0121e commit 6278b98
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions scripts/on-lint-error.js
Expand Up @@ -2,11 +2,13 @@ console.log(
`Gatsby uses precommit hooks to run our linting and style checks. We do this
to avoid additional hassle during pull request reviews, so please fix any linting
problems before submitting pull request, because all PRs must pass these checks.
If you're doing something temporary, you can disable this hook with:
git commit --no-verify
If you want disable this hook for all future commits:
npm run hooks:uninstall
`
)

process.exitCode = 1

0 comments on commit 6278b98

Please sign in to comment.