Qlty can be integrated into git using git hooks to ensure:Documentation Index
Fetch the complete documentation index at: https://docs.qlty.sh/llms.txt
Use this file to discover all available pages before exploring further.
- code is formatted before committing (pre-commit hook)
- code meets quality standards before pushes (pre-push hook)
Installation
Installation is easiest using the Qlty CLI.- First Install Qlty.
- Run:
Pre-push
The Git pre-push hook will ensure that files are auto-formatted before pushing. If there are files that are formatted incorrectly, it will format them and generate a new commit. Due to the way Git works, when this occurs, you will need to rungit push again.
You can always run
git push --no-verify to skip the pre-push hook.