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 022236f commit e20c778Copy full SHA for e20c778
rule/comment-spacings.go
@@ -23,6 +23,7 @@ func (r *CommentSpacingsRule) configure(arguments lint.Arguments) {
23
r.allowList = []string{
24
"//go:",
25
"//revive:",
26
+ "//nolint:",
27
}
28
29
for _, arg := range arguments {
testdata/comment-spacings.go
@@ -39,3 +39,6 @@ Should be valid
39
40
/* valid
41
*/
42
+
43
+//nolint:staticcheck // nolint should be in the default list of acceptable comments.
44
+var b string
0 commit comments