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.
1 parent 303ae4a commit 213d960Copy full SHA for 213d960
rule/redundant_build_tag.go
@@ -12,7 +12,7 @@ type RedundantBuildTagRule struct{}
12
// Apply triggers if an old build tag `// +build` is found after a new one `//go:build`.
13
// `//go:build` comments are automatically added by gofmt when Go 1.17+ is used.
14
// See https://pkg.go.dev/cmd/go#hdr-Build_constraints
15
-func (*RedundantBuildTagRule) Apply(file *lint.File, arguments lint.Arguments) []lint.Failure {
+func (*RedundantBuildTagRule) Apply(file *lint.File, _ lint.Arguments) []lint.Failure {
16
for _, group := range file.AST.Comments {
17
hasGoBuild := false
18
for _, comment := range group.List {
0 commit comments