1
0
mirror of https://github.com/mgechev/revive.git synced 2024-11-28 08:49:11 +02:00
revive/rule
2022-03-29 11:25:38 -07:00
..
add-constant.go format sources w/ gofumpt (#643) 2022-03-02 08:24:55 +01:00
argument-limit.go fix: invalid rule name in error message (#627) 2022-01-27 08:32:08 +01: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
banned-characters.go Memoization of rule arguments (#595) 2021-10-17 20:34:48 +02:00
bare-return.go Add banned characters rule (#532) (#591) 2021-10-14 20:56:29 +02:00
blank-imports.go Code cleanup (#606) 2021-10-23 13:25:41 +02:00
bool-literal-in-expr.go format sources w/ gofumpt (#643) 2022-03-02 08:24:55 +01:00
call-to-gc.go format sources w/ gofumpt (#643) 2022-03-02 08:24:55 +01:00
cognitive-complexity.go Memoization of rule arguments (#595) 2021-10-17 20:34:48 +02:00
confusing-naming.go format sources w/ gofumpt (#643) 2022-03-02 08:24:55 +01:00
confusing-results.go refactor: remove URL field from the failure struct 2018-10-30 15:37:27 -07:00
constant-logical-expr.go Incorrect handling of token.{LEQ,GEQ} for constant-logical-expr (#642) 2022-02-27 09:37:51 +01:00
context-as-argument.go format sources w/ gofumpt (#643) 2022-03-02 08:24:55 +01:00
context-keys-type.go Fix linter warnings (recommended config) in the code (#71) 2018-09-22 15:27:22 -07:00
cyclomatic.go refactor(cyclomatic): improved message for cyclomatic rule (#629) 2022-01-31 17:33:43 +01:00
deep-exit.go format sources w/ gofumpt (#643) 2022-03-02 08:24:55 +01:00
defer.go format sources w/ gofumpt (#643) 2022-03-02 08:24:55 +01: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 fixed some complex code (#580) 2021-09-26 08:28:58 +02: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 format sources w/ gofumpt (#643) 2022-03-02 08:24:55 +01:00
errorf.go Fix linter warnings (recommended config) in the code (#71) 2018-09-22 15:27:22 -07:00
exported.go removes duplicated utility function (#652) 2022-03-18 15:00:41 +01:00
file-header.go File file-header.go (#601) 2021-10-17 21:12:36 +02:00
flag-param.go format sources w/ gofumpt (#643) 2022-03-02 08:24:55 +01:00
function-length.go format sources w/ gofumpt (#643) 2022-03-02 08:24:55 +01:00
function-result-limit.go Memoization of rule arguments (#595) 2021-10-17 20:34:48 +02: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 Code cleanup (#606) 2021-10-23 13:25:41 +02: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 Code cleanup (#606) 2021-10-23 13:25:41 +02:00
max-public-structs.go format sources w/ gofumpt (#643) 2022-03-02 08:24:55 +01: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
optimize-operands-order.go Add optimize-operands-order rule (#599) (#603) 2021-10-23 09:29:14 +02:00
package-comments.go removes duplicated utility function (#652) 2022-03-18 15:00:41 +01:00
range-val-address.go range-val-address: improve detection (#647) 2022-03-12 09:32:57 +01:00
range-val-in-closure.go format sources w/ gofumpt (#643) 2022-03-02 08:24:55 +01: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 Adds support for new type alias any in the rule redefines-built-in (#659) 2022-03-29 10:51:01 +02:00
string-format.go format sources w/ gofumpt (#643) 2022-03-02 08:24:55 +01:00
string-of-int.go Add banned characters rule (#532) (#591) 2021-10-14 20:56:29 +02:00
struct-tag.go format sources w/ gofumpt (#643) 2022-03-02 08:24:55 +01:00
superfluous-else.go format sources w/ gofumpt (#643) 2022-03-02 08:24:55 +01:00
time-equal.go add new rule time equal (#584) 2021-10-01 13:55:53 +02:00
time-naming.go fix: time-naming issue #571 (#572) 2021-09-12 16:09:14 -07:00
unconditional-recursion.go fixes false positive in unconditional-recursion 2021-10-15 13:14:03 -07: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 Memoization of rule arguments (#595) 2021-10-17 20:34:48 +02:00
unnecessary-stmt.go Fix linter warnings (recommended config) in the code (#71) 2018-09-22 15:27:22 -07:00
unreachable-code.go format sources w/ gofumpt (#643) 2022-03-02 08:24:55 +01: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
use-any.go adds rule use-any (#660) 2022-03-29 11:25:38 -07:00
useless-break.go fix issue 556 (#557) 2021-08-16 12:15:17 +02:00
utils.go removes duplicated utility function (#652) 2022-03-18 15:00:41 +01:00
var-declarations.go Fix linter warnings (recommended config) in the code (#71) 2018-09-22 15:27:22 -07:00
var-naming.go fix #622 (Rule 'var-naming' should allow Fuzz_xxx) (#623) 2022-01-18 15:26:29 +01:00
waitgroup-by-value.go Rename rule name waitgroup-by-copy to waitgroup-by-value 2018-10-03 16:01:41 +08:00