1
0
mirror of https://github.com/mgechev/revive.git synced 2024-11-24 08:32:22 +02:00
revive/rule
SalvadorC 1da965b65f
fix issue 386: Incorrectly identifies channel draining as "empty code… (#415)
* fix issue 386: Incorrectly identifies channel draining as "empty code block"

* updates doc of empty-block rule
2020-05-10 17:43:56 -07:00
..
add-constant.go
argument-limit.go
atomic.go
bare-return.go fixes issue #280 (#282) 2019-12-21 12:17:51 -08:00
blank-imports.go
bool-literal-in-expr.go
call-to-gc.go
cognitive-complexity.go simpler implem of binEpr complexity computation 2019-12-17 22:11:32 +01:00
confusing-naming.go
confusing-results.go
constant-logical-expr.go
context-as-argument.go
context-keys-type.go
cyclomatic.go
deep-exit.go fixes issue 290 (#294) 2020-01-07 14:46:21 -08:00
dot-imports.go
duplicated-imports.go
early-return.go Late return rule (#406) 2020-05-08 11:14:21 -07:00
empty-block.go fix issue 386: Incorrectly identifies channel draining as "empty code… (#415) 2020-05-10 17:43:56 -07:00
empty-lines.go
error-naming.go
error-return.go
error-strings.go
errorf.go
exported.go fixes issue #229 (#231) 2019-09-10 10:26:47 -07:00
file-header.go Add check for argument length to "file-header" rule 2019-12-02 02:04:49 +07:00
flag-param.go
function-result-limit.go
get-return.go
identical-branches.go removes unused code 2020-05-08 22:43:14 +02:00
if-return.go
import-shadowing.go
imports-blacklist.go
increment-decrement.go
indent-error-flow.go
line-length-limit.go
max-public-structs.go
modifies-param.go fix issue #355 (#356) 2020-02-26 10:32:47 -10:00
modifies-value-receiver.go
package-comments.go
range-val-address.go Add rule 'range-val-address' (#353) 2020-02-26 10:33:00 -10:00
range-val-in-closure.go
range.go
receiver-naming.go
redefines-builtin-id.go
string-of-int.go String of int (#342) 2020-02-18 09:38:01 -08:00
struct-tag.go fix 208 struct-tag linter false positive (#209) 2019-08-05 09:21:20 -07:00
superfluous-else.go
time-naming.go
unexported-return.go
unhandled-error.go adds blacklist to unhandled-error (#128) 2019-04-29 19:56:12 -07:00
unnecessary-stmt.go
unreachable-code.go
unused-param.go
unused-receiver.go
utils.go utils.gofmt now accepts a interface{} 2020-05-08 22:08:16 +02:00
var-declarations.go
var-naming.go
waitgroup-by-value.go