CI: add automatic code linters to git pre-commit hook
Opened this issue · 1 comments
Yury-Fridlyand commented
Describe the feature
- Add automatic code linters for all languages and config files (json, yml) to a script into a git pre-commit hook
- Move hook location outside of
.git
dir, e.g. togithooks
- Update git config parameter
core.hooksPath
- link - Update README and/or developer guides
Note: If a contributer didn't update git config, so that person won't get that feature. But we have a CI to validate that as well.
See example in https://github.com/rust-sketches/ci-github-actions
Use Case
No response
Proposed Solution
No response
Other Information
No response
Acknowledgements
- I may be able to implement this feature request
- This feature might incur a breaking change
Client version used
No response
Environment details (OS name and version, etc.)
No response
Yury-Fridlyand commented
See also: #653