Skip to content

Commit eba7575

Browse files
committed
README: information about rules
Signed-off-by: Vincent Batts <[email protected]>
1 parent 09c2bd4 commit eba7575

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,3 +83,13 @@ vbatts@valse ~/src/vb/git-validation (master) $ git-validation
8383
vbatts@valse ~/src/vb/git-validation (master) $ echo $?
8484
1
8585
```
86+
87+
## Rules
88+
89+
Default rules are added by registering them to the `validate` package.
90+
Usually by putting them in their own package.
91+
See [`./rules/`](./rules/).
92+
Feel free to contribute more.
93+
94+
Otherwise, but using `validate` package API directly, rules can be handed directly to the `validate.Runner`.
95+

0 commit comments

Comments
 (0)