The max-public-structs
rule starts finding many false positives in version 1.5.0
#1103
Labels
max-public-structs
rule starts finding many false positives in version 1.5.0
#1103
Describe the bug
The
max-public-structs
rule starts finding many false positives in version1.5.0
.Version
1.4.0
, with the same configuration, doesn't find any findings.I will demonstrate this using the repository https://github.com/influxdata/telegraf (over 650k lines) as an example.
To Reproduce
Steps to reproduce the behavior:
go install github.com/mgechev/revive@latest
632
false positives.Expected behavior
I would like there to be no findings for the given repo, branch and configuration - just as it was for the previous version of
revive
(1.4.0
)."Logs
All findings attached:
revive_1.5.0_findings_for_telegraf.txt
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: