Add missing class keyword #10
Annotations
10 errors
Linting:
build.go#L46
`if CompDB` has complex nested blocks (complexity: 6) (nestif)
|
Linting:
build.go#L76
G306: Expect WriteFile permissions to be 0600 or less (gosec)
|
Linting:
builtins/builtins.go#L23
G404: Use of weak random number generator (math/rand or math/rand/v2 instead of crypto/rand) (gosec)
|
Linting:
builtins/builtins.go#L124
Consider pre-allocating `ss` (prealloc)
|
Linting:
builtins/builtins.go#L145
unused-parameter: parameter 'args' seems to be unused, consider removing or renaming it as _ (revive)
|
Linting:
builtins/match.go#L139
ineffectual assignment to isMissing (ineffassign)
|
Linting:
builtins/match.go#L176
ineffectual assignment to isMissing (ineffassign)
|
Linting:
builtins/match.go#L203
ineffectual assignment to isMissing (ineffassign)
|
Linting:
control/control.go#L50
unused-parameter: parameter 'i' seems to be unused, consider removing or renaming it as _ (revive)
|
Linting:
control/events.go#L15
the type name `ErrorEvent` should conform to the `XxxError` format (errname)
|