valkey-io/valkey-glide

CI: add automatic code linters to git pre-commit hook

Opened this issue · 1 comments

Describe the feature

  1. Add automatic code linters for all languages and config files (json, yml) to a script into a git pre-commit hook
  2. Move hook location outside of .git dir, e.g. to githooks
  3. Update git config parameter core.hooksPath - link
  4. 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

See also: #653