Skip to content

Commit

Permalink
chore: Revert "chore: lint-staged commits even on error" (#11791)
Browse files Browse the repository at this point in the history
Reverts #11790
  • Loading branch information
m-allanson authored and wardpeet committed Feb 15, 2019
1 parent 6278b98 commit e99d6e8
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions scripts/on-lint-error.js
Expand Up @@ -2,13 +2,11 @@ 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 e99d6e8

Please sign in to comment.