golangci-lint/pkg/result/processors/testdata/nolint_apply_to_unknown.go
iwankgb 947dae101e
Unknown linter breaks //nolint (#1497)
* Unknown linter breaks //nolint
* Testing if nolint directive for unknown linter silences violation on the same line
2020-11-09 08:33:24 +00:00

6 lines
58 B
Go

package testdata
func bar() {
_ = 0 //nolint: foobar
}