rwaldron / idiomatic.js

Principles of Writing Consistent, Idiomatic JavaScript
Other
24.66k stars 3.46k forks source link

Add links to guides on incorporating pre-commit hooks for code consistency #269

Open hamirmahal opened 2 years ago

hamirmahal commented 2 years ago

README.md says

Consider incorporating a pre-commit hook that removes end-of-line whitespace and blanks spaces on empty lines automatically.

What guides do you suggest on incorporating pre-commit hooks that do things like these?

Also, how do you feel about incorporating a Discussions section in this repository for questions like these?