You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I cannot trigger the "exported" rule of the revive linter. Note: I think there might be more rules which are untriggerable, but I've tested and provided an example for the "exported" rule.
Version of golangci-lint
$ golangci-lint versiongolangci-lint has version 1.42.1 built from 54f4301d on 2021-09-06T17:05:10Z
Configuration file
I've tried with no .golangci.yml config at all, no revive config, and the full config below:
Welcome
Description of the problem
I cannot trigger the "exported" rule of the
revive
linter. Note: I think there might be more rules which are untriggerable, but I've tested and provided an example for the "exported" rule.Version of golangci-lint
Configuration file
I've tried with no
.golangci.yml
config at all, norevive
config, and the full config below:Go environment
Verbose output of running
Code example or link to a public repository
Running revive by itself works on the example:
https://play.golang.org/p/yAMJITL7uBT
The text was updated successfully, but these errors were encountered: