You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.rst
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -50,11 +50,11 @@ Custom validators
50
50
51
51
Create somewhere in your repository a file (e.g. ``validator.mjs``) and use the path in ``validator_file``.
52
52
53
-
Your validator will inherit from `CommitValidator <./src/commit-validator.ts#L35>`__. Only implement the function you need, so it wont override the default behavior.
53
+
Your validator will inherit from `CommitValidator <./src/commit-validator.ts#L48>`__. Only implement the function you need, so it wont override the default behavior.
54
54
55
-
You have to always return a `Result <./src/commmit-validator.ts#L9>`__. Only ``Status.Failure`` will result into an CI error.
55
+
You have to always return a `Result <./src/commmit-validator.ts#L48>`__. Only ``Status.Failure`` will result into an CI error.
56
56
57
-
`CommitValidator <./src/commit-validator.ts#L35>`__ provides the following constructor/functions.
57
+
`CommitValidator <./src/commit-validator.ts#L48>`__ provides the following constructor/functions.
58
58
59
59
- ``constructor(options: string[])``
60
60
Options passed to GitHub workflow.
@@ -68,7 +68,7 @@ You have to always return a `Result <./src/commmit-validator.ts#L9>`__. Only ``S
0 commit comments