1
0
mirror of https://github.com/mgechev/revive.git synced 2025-01-10 03:17:11 +02:00
revive/fixtures
chavacava c2e2dbac85 New rule: unused-parameter (#28)
* 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
2018-07-07 18:40:02 +10:00
..
golint Fix issue19 (#20) 2018-06-13 07:01:31 -07:00
argument-limit.go Add tests for the arguments limit 2018-02-04 15:10:35 -08:00
confusing-naming1.go New rule: Confusing naming (#16) 2018-07-02 12:05:20 +10:00
confusing-naming2.go New rule: Confusing naming (#16) 2018-07-02 12:05:20 +10:00
confusing-results.go New rule: confusing-results (#27) 2018-07-02 12:09:58 +10:00
cyclomatic-2.go Improve comments 2018-01-26 19:52:29 -08:00
cyclomatic.go Improve comments 2018-01-26 19:52:29 -08:00
deep-exit.go New rule deep-exit (#26) 2018-06-27 06:21:03 +10:00
disable-annotations.go Update the documentation for comment annotations 2018-06-01 10:54:30 -07:00
empty-block.go empty-block: ignore checking blocks of funcs and func literals (#17) 2018-06-11 12:08:58 -07:00
get-return.go New rule: get-return (#23) 2018-06-22 21:21:09 +10:00
lint-file-header1.go Add extra rule 2018-02-04 14:51:19 -08:00
lint-file-header2.go Add extra rule 2018-02-04 14:51:19 -08:00
lint-file-header3.go Add extra rule 2018-02-04 14:51:19 -08:00
lint-file-header4.go Add extra rule 2018-02-04 14:51:19 -08:00
lint-file-header5.go Add extra rule 2018-02-04 14:51:19 -08:00
max-public-structs.go Add new rule 2018-02-02 13:32:03 -05:00
modifies-param.go New rule: modifies-parameter (#25) 2018-06-24 17:26:21 +10:00
superfluous-else.go superfuous-else handles more cases (#24) 2018-06-24 17:24:50 +10:00
unused-param.go New rule: unused-parameter (#28) 2018-07-07 18:40:02 +10:00