Replace lint task with hk and setup pre-commit hooks#2
Merged
Conversation
- Add hk to mise tools - Create hk.pkl configuration for luacheck and stylua linters - Replace custom lint task with hk run command - Remove old mise-tasks/lint script - Add development section to README with hk install instructions - Install pre-commit and pre-push hooks 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
- Update .luacheckrc to properly ignore unused globals - Add luacheck ignore directive to metadata.lua for PLUGIN global - Ensure hk check passes without warnings 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
- Add actionlint to mise tools
- Configure actionlint in hk.pkl for .github/workflows/*.{yml,yaml} files
- Update mise lint task to use hk check for all linters
- Simplify hk.pkl configuration by removing unused hooks
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Add pkl to mise tools to ensure it's available in CI - This fixes the lint task failure where hk couldn't parse hk.pkl config - CI was failing with "pkl: command not found" 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
- Add GITHUB_TOKEN to CI workflow to prevent GitHub API rate limiting - This allows the semver plugin to authenticate API requests in CI - Fixes "API rate limit exceeded" errors on macOS CI 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
hk installBenefits
Test plan
mise run lintcontinues to work🤖 Generated with Claude Code