mirror of
https://github.com/mgechev/revive.git
synced 2025-01-10 03:17:11 +02:00
c2e2dbac85
* Adds rule superfluous-else (an extension of indent-error-flow) * Fix superfluous-else rule struct namming. * Adds superfuous-else rule to the rules table * Adds confusing-naming rule * adds multifile test * [WIP] fix multiple file test * draft solution for detecting confusing-names through multiple files * [WIP] confusing-name multiple files * clean-up * draft working version * cleaner version + more informative messages * adds check on struct field names * fix config.go * clean master * new ADS rule: newerr * ADS-print working version * ads-print final version * ads-lost-err working version * confusing-namming: fix tests * unused-parameter: working version * WIP adds scopes - still imprecise ( eg a:=a is not detected as use) * w/scopes and more precise * adds test on structs * adds test w/ var shadowing * more precise handling of for/switch statements * fix check of +=, -=, *= and the like. Adds better support for slices and switchs |
||
---|---|---|
.. | ||
golint | ||
argument-limit.go | ||
confusing-naming1.go | ||
confusing-naming2.go | ||
confusing-results.go | ||
cyclomatic-2.go | ||
cyclomatic.go | ||
deep-exit.go | ||
disable-annotations.go | ||
empty-block.go | ||
get-return.go | ||
lint-file-header1.go | ||
lint-file-header2.go | ||
lint-file-header3.go | ||
lint-file-header4.go | ||
lint-file-header5.go | ||
max-public-structs.go | ||
modifies-param.go | ||
superfluous-else.go | ||
unused-param.go |