feat: add golangci-lint #1
Annotations
10 errors
lint:
class.go#L230
Error return value of `c.WalkValues` is not checked (errcheck)
|
lint:
fs.go#L39
Error return value of `filepath.Walk` is not checked (errcheck)
|
lint:
registry.go#L83
Error return value of `class.Walk` is not checked (errcheck)
|
lint:
registry.go#L268
Error return value of `reg.WalkValues` is not checked (errcheck)
|
lint:
reference_test.go#L129
Error return value is not checked (errcheck)
|
lint:
registry_test.go#L23
var `stripPrefix` is unused (unused)
|
lint:
registry.go#L140
S1005: unnecessary assignment to the blank identifier (gosimple)
|
lint:
data/container.go#L217
S1009: should omit nil check; len() for github.com/lukasjarosch/skipper/data.Path is defined as zero (gosimple)
|
lint:
reference/value.go#L156
S1009: should omit nil check; len() for []github.com/lukasjarosch/skipper/reference.ValueReference is defined as zero (gosimple)
|
lint:
reference/value.go#L369
S1009: should omit nil check; len() for []github.com/lukasjarosch/skipper/reference.ValueReference is defined as zero (gosimple)
|