File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -113,17 +113,20 @@ Hooks named `'*-repo-*'` only run once (if any matching files are staged). They
113
113
# ### User args
114
114
Generally, repo-based hooks DO accept user-args.
115
115
116
- # ## Repo-Hook Suffixes
116
+ # ### Repo-Hook Suffixes
117
117
- `*-repo` : Hook runs with no target argument (good for adding custom arguments / targets)
118
118
- `*-repo-dir` : Hook runs using `'./...'` as target.
119
119
- `*-repo-pkg` : Hook runs using `'$(go list)/...'` as target.
120
120
121
+ --------------
121
122
# ## Fix Suffix
122
123
Hooks named `'*-fix'` fix (modify) files directly, when possible.
123
124
125
+ -----------
124
126
# ## Aliases
125
127
Consider adding aliases to longer-named hooks for easier CLI usage.
126
128
129
+ --------------------------
127
130
# ## Useful Hook Parameters
128
131
```
129
132
- id: hook-id
You can’t perform that action at this time.
0 commit comments