1
0
mirror of https://github.com/mgechev/revive.git synced 2024-11-24 08:32:22 +02:00
revive/rule
SalvadorC da63d0a965 Refactors atomic rule code to move gofmt function to utils.go (issue #79) (#80)
* Refactoring on atomic rule:
-Main modification: move func gofmt to utils.go

* Refactoring on constant-logical-expr rule
Simplifies equality check of subexpressions by using gofmt function
2018-10-03 11:56:57 -07:00
..
add-constant.go add-constant (new rule) (#39) 2018-07-17 12:21:27 -07:00
argument-limit.go Add tests for the arguments limit 2018-02-04 15:10:35 -08:00
atomic.go Refactors atomic rule code to move gofmt function to utils.go (issue #79) (#80) 2018-10-03 11:56:57 -07:00
blank-imports.go Fix linter warnings (recommended config) in the code (#71) 2018-09-22 15:27:22 -07:00
bool-literal-in-expr.go Fix linter warnings (recommended config) in the code (#71) 2018-09-22 15:27:22 -07:00
confusing-naming.go Fix linter warnings (recommended config) in the code (#71) 2018-09-22 15:27:22 -07:00
confusing-results.go Fix linter warnings (recommended config) in the code (#71) 2018-09-22 15:27:22 -07:00
constant-logical-expr.go Refactors atomic rule code to move gofmt function to utils.go (issue #79) (#80) 2018-10-03 11:56:57 -07:00
context-as-argument.go Fix linter warnings (recommended config) in the code (#71) 2018-09-22 15:27:22 -07:00
context-keys-type.go Fix linter warnings (recommended config) in the code (#71) 2018-09-22 15:27:22 -07:00
cyclomatic.go Fix linter warnings (recommended config) in the code (#71) 2018-09-22 15:27:22 -07:00
deep-exit.go Fix linter warnings (recommended config) in the code (#71) 2018-09-22 15:27:22 -07:00
dot-imports.go Fix linter warnings (recommended config) in the code (#71) 2018-09-22 15:27:22 -07:00
empty-block.go Fix linter warnings (recommended config) in the code (#71) 2018-09-22 15:27:22 -07:00
error-naming.go Fix linter warnings (recommended config) in the code (#71) 2018-09-22 15:27:22 -07:00
error-return.go Fix linter warnings (recommended config) in the code (#71) 2018-09-22 15:27:22 -07:00
error-strings.go Fix linter warnings (recommended config) in the code (#71) 2018-09-22 15:27:22 -07:00
errorf.go Fix linter warnings (recommended config) in the code (#71) 2018-09-22 15:27:22 -07:00
exported.go Fix linter warnings (recommended config) in the code (#71) 2018-09-22 15:27:22 -07:00
file-header.go Fix linter warnings (recommended config) in the code (#71) 2018-09-22 15:27:22 -07:00
flag-param.go Fix linter warnings (recommended config) in the code (#71) 2018-09-22 15:27:22 -07:00
function-result-limit.go Check max value and add more information about what the rule received as argument. 2018-09-17 20:17:21 +08:00
get-return.go Fix linter warnings (recommended config) in the code (#71) 2018-09-22 15:27:22 -07:00
if-return.go Fix linter warnings (recommended config) in the code (#71) 2018-09-22 15:27:22 -07:00
imports-blacklist.go Fix linter warnings (recommended config) in the code (#71) 2018-09-22 15:27:22 -07:00
increment-decrement.go Fix linter warnings (recommended config) in the code (#71) 2018-09-22 15:27:22 -07:00
indent-error-flow.go Fix linter warnings (recommended config) in the code (#71) 2018-09-22 15:27:22 -07:00
max-public-structs.go removes debug trace (#57) 2018-09-09 08:33:45 -07:00
modifies-param.go Fix linter warnings (recommended config) in the code (#71) 2018-09-22 15:27:22 -07:00
modifies-value-receiver.go Fix linter warnings (recommended config) in the code (#71) 2018-09-22 15:27:22 -07:00
package-comments.go Fix linter warnings (recommended config) in the code (#71) 2018-09-22 15:27:22 -07:00
range-val-in-closure.go Removes linter warning 2018-09-29 07:04:10 +02:00
range.go Fix linter warnings (recommended config) in the code (#71) 2018-09-22 15:27:22 -07:00
receiver-naming.go Fix linter warnings (recommended config) in the code (#71) 2018-09-22 15:27:22 -07:00
redefines-builtin-id.go Fix linter warnings (recommended config) in the code (#71) 2018-09-22 15:27:22 -07:00
struct-tag.go struct-tag: add support for asn1 and bson (#49) 2018-08-07 11:28:45 -07:00
superfluous-else.go Fix linter warnings (recommended config) in the code (#71) 2018-09-22 15:27:22 -07:00
time-naming.go Fix linter warnings (recommended config) in the code (#71) 2018-09-22 15:27:22 -07:00
unexported-return.go Fix linter warnings (recommended config) in the code (#71) 2018-09-22 15:27:22 -07:00
unnecessary-stmt.go Fix linter warnings (recommended config) in the code (#71) 2018-09-22 15:27:22 -07:00
unreachable-code.go Fix linter warnings (recommended config) in the code (#71) 2018-09-22 15:27:22 -07:00
unused-param.go Refactoring: move pick function to rule/utils.go (#30) 2018-07-09 03:00:44 +10:00
utils.go Refactors atomic rule code to move gofmt function to utils.go (issue #79) (#80) 2018-10-03 11:56:57 -07:00
var-declarations.go Fix linter warnings (recommended config) in the code (#71) 2018-09-22 15:27:22 -07:00
var-naming.go Add white & black lists for var-naming 2018-09-15 15:05:31 -07:00
waitgroup-by-value.go Rename rule name waitgroup-by-copy to waitgroup-by-value 2018-10-03 16:01:41 +08:00