1
0
Fork 0
mirror of https://github.com/vbatts/git-validation.git synced 2024-12-29 08:46:31 +00:00

README: information about rules

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
Vincent Batts 2015-10-06 10:55:42 -04:00
parent 09c2bd43dc
commit eba7575f7e

View file

@ -83,3 +83,13 @@ vbatts@valse ~/src/vb/git-validation (master) $ git-validation
vbatts@valse ~/src/vb/git-validation (master) $ echo $? vbatts@valse ~/src/vb/git-validation (master) $ echo $?
1 1
``` ```
## Rules
Default rules are added by registering them to the `validate` package.
Usually by putting them in their own package.
See [`./rules/`](./rules/).
Feel free to contribute more.
Otherwise, but using `validate` package API directly, rules can be handed directly to the `validate.Runner`.