Repo Added
|
Files
106
|
Badge
README BADGES
|
github
re-enable the revive linter rules Apparently, when adding a specific rule setting to revive setting, it cancels all the other rules, leaving only the ones under `rervive.rules`. In PR 2803, we configured revive's dot-import rule, so from then, revive only checks this single rule. This commit re-enable all the default revive rules, according to https://github.com/mgechev/revive/blob/62f0b012e/revive.toml#L1 Disable any rule that currently introduces new linter warnings. They will be enabled one by one with their finding fixed, in the following commits. The following rules are removed as they won't implemented: * enforce-map-style - not agree with the rule logic * exported - too much work to implement, not worth it * package-comments - too much work to implement, not worth it Signed-off-by: Nahshon Unna-Tsameret <nunnatsa@redhat.com>
6524 of 9024 relevant lines covered (72.3%)
0.8 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|