1
0
mirror of https://github.com/mgechev/revive.git synced 2024-12-04 10:24:49 +02:00
revive/rule
Marcin Federowicz ff7b0adb4c
rule.exported: add feature to disable checking on const,method,function, variable (#1047)
Co-authored-by: chavacava <salvadorcavadini+github@gmail.com>
2024-10-02 10:46:52 +02:00
..
add-constant.go code cleanup (#1054) 2024-10-01 12:14:02 +02:00
argument-limit.go code cleanup (#1054) 2024-10-01 12:14:02 +02:00
atomic.go Lint cleanup (#679) 2022-04-10 11:55:13 +02:00
banned-characters.go adds default config to enable all rules work out of the box (#830) 2023-05-20 14:44:34 +02:00
bare-return.go Lint cleanup (#679) 2022-04-10 11:55:13 +02:00
blank-imports.go code cleanup (#1054) 2024-10-01 12:14:02 +02:00
bool-literal-in-expr.go code cleanup (#1054) 2024-10-01 12:14:02 +02:00
call-to-gc.go Lint cleanup (#679) 2022-04-10 11:55:13 +02:00
cognitive-complexity.go code cleanup (#1054) 2024-10-01 12:14:02 +02:00
comment-spacings.go code cleanup (#1054) 2024-10-01 12:14:02 +02:00
comments-density.go Update README.md & Typo (#1010) 2024-07-11 09:56:42 +02:00
confusing-naming.go fix #982 2024-05-11 19:50:30 +02:00
confusing-results.go Lint cleanup (#679) 2022-04-10 11:55:13 +02:00
constant-logical-expr.go code cleanup (#1054) 2024-10-01 12:14:02 +02:00
context-as-argument.go code cleanup: replace interface{} with any (#906) 2023-09-24 08:44:02 +02:00
context-keys-type.go Lint cleanup (#679) 2022-04-10 11:55:13 +02:00
cyclomatic.go code cleanup (#1054) 2024-10-01 12:14:02 +02:00
datarace.go fix lint issues (#1038) 2024-09-16 09:32:34 +02:00
deep-exit.go code cleanup (#1054) 2024-10-01 12:14:02 +02:00
defer.go code cleanup (#1054) 2024-10-01 12:14:02 +02:00
doc.go Code cleaunp (#905) 2023-09-23 10:41:34 +02:00
dot-imports.go code cleanup (#1054) 2024-10-01 12:14:02 +02:00
duplicated-imports.go Lint cleanup (#679) 2022-04-10 11:55:13 +02:00
early-return.go cleanup: removes or names unused parameters and receivers to _ (#907) 2023-09-24 08:55:14 +02:00
empty-block.go Prevent empty-block when looping over call expr 2023-05-01 10:44:48 +02:00
empty-lines.go fix bug #739: empty-lines false positive (#742) 2022-08-27 13:18:17 +02:00
enforce-map-style.go code cleanup (#1054) 2024-10-01 12:14:02 +02:00
enforce-repeated-arg-type-style.go fix #1032 by comparing string representations of types (#1049) 2024-09-24 11:29:20 +02:00
enforce-slice-style.go code cleanup (#1054) 2024-10-01 12:14:02 +02:00
error-naming.go Lint cleanup (#679) 2022-04-10 11:55:13 +02:00
error-return.go Lint cleanup (#679) 2022-04-10 11:55:13 +02:00
error-strings.go Allow to customize user functions in rule error-strings (#703) 2022-07-05 21:51:50 +02:00
errorf.go Lint cleanup (#679) 2022-04-10 11:55:13 +02:00
exported.go rule.exported: add feature to disable checking on const,method,function, variable (#1047) 2024-10-02 10:46:52 +02:00
file-header.go code cleanup (#1054) 2024-10-01 12:14:02 +02:00
flag-param.go refactor: remove unused parameter from pick function (#932) 2023-11-06 11:01:38 +01:00
function-length.go code cleanup (#1054) 2024-10-01 12:14:02 +02:00
function-result-limit.go code cleanup (#1054) 2024-10-01 12:14:02 +02:00
get-return.go code cleanup (#1054) 2024-10-01 12:14:02 +02:00
identical-branches.go code cleanup (#1054) 2024-10-01 12:14:02 +02:00
if-return.go Lint cleanup (#679) 2022-04-10 11:55:13 +02:00
import-alias-naming.go docs: fix typo in comments (#1037) 2024-09-14 21:38:06 +02:00
import-shadowing.go fix: false positive in import-shadowing for method names (#876) 2023-08-21 23:45:41 +02:00
imports-blocklist.go refactor: rename blacklist to blocklist and whitelist to allowlist (#946) 2024-01-15 12:16:00 +01:00
increment-decrement.go Lint cleanup (#679) 2022-04-10 11:55:13 +02:00
indent-error-flow.go cleanup: removes or names unused parameters and receivers to _ (#907) 2023-09-24 08:55:14 +02:00
line-length-limit.go code cleanup (#1054) 2024-10-01 12:14:02 +02:00
max-control-nesting.go code cleanup (#1054) 2024-10-01 12:14:02 +02:00
max-public-structs.go code cleanup (#1054) 2024-10-01 12:14:02 +02:00
modifies-param.go Lint cleanup (#679) 2022-04-10 11:55:13 +02:00
modifies-value-receiver.go modifies-value-receiver: warn on slice or map (#943) 2023-11-28 15:45:52 +01:00
nested-structs.go fix #824 (#829) 2023-05-16 10:31:25 +02:00
optimize-operands-order.go rule optimize-operands-order: do not consider built-in len as a caller (#1005) 2024-07-02 08:22:13 +02:00
package-comments.go Fix 922 (#989) 2024-05-13 14:23:02 +02:00
range-val-address.go Add support for the new implementation of for loop variables in go 1.22. (#993) 2024-06-02 11:55:26 +02:00
range-val-in-closure.go Add support for the new implementation of for loop variables in go 1.22. (#993) 2024-06-02 11:55:26 +02:00
range.go Lint cleanup (#679) 2022-04-10 11:55:13 +02:00
receiver-naming.go adds check for receiver names length (#1048) 2024-09-23 12:38:39 +02:00
redefines-builtin-id.go check param, result, type param of function in redefines-builtin-id rule (#1023) 2024-08-15 13:29:11 +02:00
redundant-import-alias.go feat: add rule for redundant import alias (#854) 2023-07-31 08:22:40 +02:00
string-format.go Add multiple scopes support to string-format rule (#1009) 2024-08-09 21:01:17 +02:00
string-of-int.go Lint cleanup (#679) 2022-04-10 11:55:13 +02:00
struct-tag.go code cleanup (#1054) 2024-10-01 12:14:02 +02:00
superfluous-else.go cleanup: removes or names unused parameters and receivers to _ (#907) 2023-09-24 08:55:14 +02:00
time-equal.go code cleanup (#1054) 2024-10-01 12:14:02 +02:00
time-naming.go code cleanup (#1054) 2024-10-01 12:14:02 +02:00
unchecked-type-assertion.go code cleanup (#1054) 2024-10-01 12:14:02 +02:00
unconditional-recursion.go code cleanup (#1054) 2024-10-01 12:14:02 +02:00
unexported-naming.go Lint cleanup (#679) 2022-04-10 11:55:13 +02:00
unexported-return.go fix(receiver-naming): distinguish types with parameters (#692) 2022-06-18 18:47:53 +02:00
unhandled-error.go code cleanup (#1054) 2024-10-01 12:14:02 +02:00
unnecessary-stmt.go Lint cleanup (#679) 2022-04-10 11:55:13 +02:00
unreachable-code.go add testing.FailNow and related function to unreachable check (#711) 2022-07-20 15:41:31 -07:00
unused-param.go Check function literals in unused-param (#966) 2024-01-27 13:39:55 +01:00
unused-receiver.go refactor: remove unused parameter from pick function (#932) 2023-11-06 11:01:38 +01:00
use-any.go Revert "fix: unnecesary alert for use-any when comments inside interface{} (#873)" (#874) 2023-08-19 08:07:28 +02:00
useless-break.go Lint cleanup (#679) 2022-04-10 11:55:13 +02:00
utils.go more precise regular expression for directive comments (#988) 2024-05-11 19:19:09 +02:00
var-declarations.go code cleanup (#1054) 2024-10-01 12:14:02 +02:00
var-naming.go code cleanup (#1054) 2024-10-01 12:14:02 +02:00
waitgroup-by-value.go code cleanup (#1054) 2024-10-01 12:14:02 +02:00