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:
parent
09c2bd43dc
commit
eba7575f7e
1 changed files with 10 additions and 0 deletions
10
README.md
10
README.md
|
@ -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`.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue