We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ac0930a + 094999a commit 5a672d8Copy full SHA for 5a672d8
.travis.yml
@@ -23,7 +23,7 @@ install: true
23
24
script:
25
- go vet -x ./...
26
- - golint ./...
+ - golint -set_exit_status ./...
27
- go build .
28
- go test -v ./...
29
- ./git-validation -run DCO,short-subject,dangling-whitespace -v
rules/danglingwhitespace/rule.go
@@ -19,6 +19,7 @@ func init() {
19
validate.RegisterRule(DanglingWhitespace)
20
}
21
22
+// ValidateDanglingWhitespace runs Git's check to look for whitespace errors.
func ValidateDanglingWhitespace(c git.CommitEntry) (vr validate.Result) {
vr.CommitEntry = c
vr.Msg = "commit does not have any whitespace errors"
0 commit comments