-
Notifications
You must be signed in to change notification settings - Fork 74
Open
Description
💡 Feature Description
Allows testing code before commit. https://pre-commit.com
💻 Example Usage
.pre-commit-config.yaml
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/rustwasm/twiggy
rev: v3.2.0
hooks:
- id: top
args = ["-n", "20"]
- id: garbage
- id: ...This'd then be used to pass or fail a commit based on if for example, the top code offenders reached above a certain size which can be configured in the config
🙌 Are you interested in implementing this feature?
Add an "X" to one of the following:
- Yes
- Yes if I had a mentor to help me
- No
Metadata
Metadata
Assignees
Labels
No labels