Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add custom plain templates #930

Merged
merged 2 commits into from
Jan 17, 2025

Conversation

mrexox
Copy link
Member

@mrexox mrexox commented Jan 16, 2025

Closes #127

⚡ Summary

Add custom templates.

  • Add templates option
  • Add docs
  • Add a test

Example usage:

# lefthook.yml
templates:
  dip:

pre-commit:
  jobs:
    - run: {dip} bundle exec rubocop
# lefthook-local.yml
templates:
  dip: dip

@mrexox mrexox marked this pull request as ready for review January 17, 2025 09:03
@mrexox mrexox merged commit dcbf0d4 into evilmartians:master Jan 17, 2025
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature request: runner prefixes in local configs
1 participant