Skip to content

Commit

Permalink
docs(CONTRIBUTING): mention pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
scop committed May 22, 2021
1 parent 6b2ae7c commit e1c400a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,11 @@ Also, please bear the following coding guidelines in mind:
- In addition to running the test suite, there are a few scripts in the test/
dir that catch some common issues, see and use for example runLint.

- Install pre-commit and set it up, see <https://pre-commit.com/>.
That'll run a bunch of linters and the like, the same as the
bash-completion CI does. Running it locally and fixing found issues before
commit/push/PR reduces some roundtrips with the review.
- File bugs, enhancement, and pull requests at GitHub,
<https://github.com/scop/bash-completion>.
Sending them to the developers might work too, but is really strongly
Expand Down

0 comments on commit e1c400a

Please sign in to comment.