mirror of
https://github.com/gojp/goreportcard.git
synced 2026-01-28 22:39:05 +08:00
#156 Exclude testdata directories from being checked
This commit is contained in:
1
check/testfiles/testdata/a.go
vendored
Normal file
1
check/testfiles/testdata/a.go
vendored
Normal file
@@ -0,0 +1 @@
|
||||
package testdata
|
||||
@@ -16,7 +16,7 @@ import (
|
||||
)
|
||||
|
||||
var (
|
||||
skipDirs = []string{"Godeps", "vendor", "third_party"}
|
||||
skipDirs = []string{"Godeps", "vendor", "third_party", "testdata"}
|
||||
skipSuffixes = []string{".pb.go", ".pb.gw.go", ".generated.go", "bindata.go", "_string.go"}
|
||||
skipFirstLines = []string{"code generated", "generated", "autogenerated", "@generated", "code autogenerated", "auto-generated"}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user