1
0
mirror of https://github.com/mgechev/revive.git synced 2024-12-12 10:44:59 +02:00
revive/rule
2021-08-15 15:30:08 -07:00
..
add-constant.go simplify: redundant map composite literal (#528) 2021-05-31 21:54:58 +02: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
bare-return.go fixes issue #280 (#282) 2019-12-21 12:17:51 -08:00
blank-imports.go Add goreleaser & a gh workflow (#503) 2021-03-18 15:10: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
call-to-gc.go simplify: redundant map composite literal (#528) 2021-05-31 21:54:58 +02:00
cognitive-complexity.go Add revive linting action and fix linting errors (#455) 2020-08-15 00:50:13 +03:00
confusing-naming.go refactor: remove URL field from the failure struct 2018-10-30 15:37:27 -07:00
confusing-results.go refactor: remove URL field from the failure struct 2018-10-30 15:37:27 -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 525 (#526) 2021-05-25 15:09:05 -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 Adds configuration option to enable all available rules (#521) 2021-05-21 09:53:10 +02:00
deep-exit.go simplify: redundant map composite literal (#528) 2021-05-31 21:54:58 +02:00
defer.go adds defer rule 2020-06-08 09:40:38 -07:00
dot-imports.go refactor: remove URL field from the failure struct 2018-10-30 15:37:27 -07:00
duplicated-imports.go New rule: duplicated-imports (#111) 2019-03-20 11:54:03 -07:00
early-return.go Late return rule (#406) 2020-05-08 11:14:21 -07:00
empty-block.go removes type-checking from empty-block rule 2020-05-20 12:05:56 -07:00
empty-lines.go refactor: remove URL field from the failure struct 2018-10-30 15:37:27 -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 error return rule to allow multiple error return values (#110) 2019-03-20 11:54:27 -07:00
error-strings.go refactor: remove URL field from the failure struct 2018-10-30 15:37:27 -07:00
errorf.go Fix linter warnings (recommended config) in the code (#71) 2018-09-22 15:27:22 -07:00
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 Fix linter warnings (recommended config) in the code (#71) 2018-09-22 15:27:22 -07:00
function-length.go new rule function-length (#504) 2021-03-20 15:45:30 -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 refactor: remove URL field from the failure struct 2018-10-30 15:37:27 -07:00
identical-branches.go removes unused code 2020-05-08 22:43:14 +02:00
if-return.go Fix linter warnings (recommended config) in the code (#71) 2018-09-22 15:27:22 -07:00
import-shadowing.go fix 534 (#536) 2021-06-29 21:40:40 +02:00
imports-blacklist.go optimizes import-blacklist (#123) 2019-04-22 10:58:02 -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 refactor: remove URL field from the failure struct 2018-10-30 15:37:27 -07:00
line-length-limit.go refactor: remove URL field from the failure struct 2018-10-30 15:37:27 -07:00
max-public-structs.go Adds configuration option to enable all available rules (#521) 2021-05-21 09:53:10 +02:00
modifies-param.go fix issue #355 (#356) 2020-02-26 10:32:47 -10:00
modifies-value-receiver.go Fix linter warnings (recommended config) in the code (#71) 2018-09-22 15:27:22 -07:00
nested-structs.go new rule: nested-structs (#530) 2021-06-15 11:36:41 +02:00
package-comments.go refactor: remove URL field from the failure struct 2018-10-30 15:37:27 -07:00
range-val-address.go range-val-address: improve detection (#514) 2021-05-03 14:22:35 +02: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 refactor: remove URL field from the failure struct 2018-10-30 15:37:27 -07:00
redefines-builtin-id.go Fix linter warnings (recommended config) in the code (#71) 2018-09-22 15:27:22 -07:00
string-format.go range-val-address: improve detection (#514) 2021-05-03 14:22:35 +02:00
string-of-int.go String of int (#342) 2020-02-18 09:38:01 -08:00
struct-tag.go Add goreleaser & a gh workflow (#503) 2021-03-18 15:10:22 -07:00
superfluous-else.go simplify: redundant map composite literal (#528) 2021-05-31 21:54:58 +02:00
time-naming.go Fix linter warnings (recommended config) in the code (#71) 2018-09-22 15:27:22 -07:00
unconditional-recursion.go simplify: redundant map composite literal (#528) 2021-05-31 21:54:58 +02:00
unexported-naming.go new rule: unexported-naming (#443) 2020-07-23 02:17:20 +03:00
unexported-return.go Fix linter warnings (recommended config) in the code (#71) 2018-09-22 15:27:22 -07:00
unhandled-error.go adds blacklist to unhandled-error (#128) 2019-04-29 19:56:12 -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 simplify: redundant map composite literal (#528) 2021-05-31 21:54:58 +02:00
unused-param.go simpler and more efficient implementation of unused-parameter (#121) 2019-04-21 10:13:03 -07:00
unused-receiver.go Add revive linting action and fix linting errors (#455) 2020-08-15 00:50:13 +03:00
useless-break.go add new rule useless-break (#551) 2021-08-15 15:30:08 -07:00
utils.go Add Unwrap to common methods (#547) 2021-07-28 10:50:09 +02:00
var-declarations.go Fix linter warnings (recommended config) in the code (#71) 2018-09-22 15:27:22 -07:00
var-naming.go refactor: remove URL field from the failure struct 2018-10-30 15:37:27 -07:00
waitgroup-by-value.go Rename rule name waitgroup-by-copy to waitgroup-by-value 2018-10-03 16:01:41 +08:00