1
0
mirror of https://github.com/mgechev/revive.git synced 2024-12-02 09:02:23 +02:00
revive/rule
2024-12-01 16:44:41 +01:00
..
add_constant.go docs: fix rule descriptions (#1147) 2024-12-01 16:44:41 +01:00
argument_limit.go docs: fix rule descriptions (#1147) 2024-12-01 16:44:41 +01:00
atomic.go docs: fix rule descriptions (#1147) 2024-12-01 16:44:41 +01:00
banned_characters.go refactor: replace mutex with sync.Once for rule configuration (#1118) 2024-11-15 12:03:59 +01:00
bare_return.go docs: fix rule descriptions (#1147) 2024-12-01 16:44:41 +01:00
blank_imports.go docs: fix rule descriptions (#1147) 2024-12-01 16:44:41 +01:00
bool_literal_in_expr.go refactor: move functions out from utils.go (#1139) 2024-11-19 13:58:14 -08:00
call_to_gc.go refactor: rename files to follow Go convention 2024-11-11 19:31:18 +01:00
cognitive_complexity.go docs: fix rule descriptions (#1147) 2024-12-01 16:44:41 +01:00
comment_spacings.go refactor: replace mutex with sync.Once for rule configuration (#1118) 2024-11-15 12:03:59 +01:00
comments_density.go docs: fix rule descriptions (#1147) 2024-12-01 16:44:41 +01:00
confusing_naming.go refactor: enforce map and slice style (#1131) 2024-11-16 18:05:30 +01:00
confusing_results.go refactor: rename files to follow Go convention 2024-11-11 19:31:18 +01:00
constant_logical_expr.go refactor: rename files to follow Go convention 2024-11-11 19:31:18 +01:00
context_as_argument.go docs: fix rule descriptions (#1147) 2024-12-01 16:44:41 +01:00
context_keys_type.go docs: fix rule descriptions (#1147) 2024-12-01 16:44:41 +01:00
cyclomatic.go docs: fix rule descriptions (#1147) 2024-12-01 16:44:41 +01:00
datarace.go fix lint issues (#1038) 2024-09-16 09:32:34 +02:00
deep_exit.go deep-exit: fix mixed receiver type (lintDeepExit) (#1150) 2024-11-30 10:06:59 +01:00
defer.go docs: fix rule descriptions (#1147) 2024-12-01 16:44:41 +01:00
doc.go Code cleaunp (#905) 2023-09-23 10:41:34 +02:00
dot_imports.go docs: fix rule descriptions (#1147) 2024-12-01 16:44:41 +01:00
duplicated_imports.go docs: fix rule descriptions (#1147) 2024-12-01 16:44:41 +01:00
early_return.go feat: optional extension to early-return rule (#1133) (#1138) 2024-11-28 08:51:33 +01:00
empty_block.go docs: fix rule descriptions (#1147) 2024-12-01 16:44:41 +01:00
empty_lines.go refactor: rename files to follow Go convention 2024-11-11 19:31:18 +01:00
enforce_map_style.go refactor: replace mutex with sync.Once for rule configuration (#1118) 2024-11-15 12:03:59 +01:00
enforce_repeated_arg_type_style.go refactor: replace mutex with sync.Once for rule configuration (#1118) 2024-11-15 12:03:59 +01:00
enforce_slice_style.go refactor: replace mutex with sync.Once for rule configuration (#1118) 2024-11-15 12:03:59 +01:00
error_naming.go docs: fix rule descriptions (#1147) 2024-12-01 16:44:41 +01:00
error_return.go docs: fix rule descriptions (#1147) 2024-12-01 16:44:41 +01:00
error_strings.go docs: fix rule descriptions (#1147) 2024-12-01 16:44:41 +01:00
errorf.go docs: fix rule descriptions (#1147) 2024-12-01 16:44:41 +01:00
exported.go docs: fix rule descriptions (#1147) 2024-12-01 16:44:41 +01:00
file_header.go docs: fix rule descriptions (#1147) 2024-12-01 16:44:41 +01:00
file_length_limit.go refactor: replace mutex with sync.Once for rule configuration (#1118) 2024-11-15 12:03:59 +01:00
filename_format.go Filename-format rule: fix filename extension regex: ".go" to "\\.go". (#1132) 2024-11-16 16:12:26 +01:00
flag_param.go docs: fix rule descriptions (#1147) 2024-12-01 16:44:41 +01:00
function_length.go refactor: replace mutex with sync.Once for rule configuration (#1118) 2024-11-15 12:03:59 +01:00
function_result_limit.go docs: fix rule descriptions (#1147) 2024-12-01 16:44:41 +01:00
get_return.go docs: fix rule descriptions (#1147) 2024-12-01 16:44:41 +01:00
identical_branches.go refactor: rename files to follow Go convention 2024-11-11 19:31:18 +01:00
if_return.go docs: fix rule descriptions (#1147) 2024-12-01 16:44:41 +01:00
import_alias_naming.go refactor: replace mutex with sync.Once for rule configuration (#1118) 2024-11-15 12:03:59 +01:00
import_shadowing.go docs: fix rule descriptions (#1147) 2024-12-01 16:44:41 +01:00
imports_blocklist.go docs: fix rule descriptions (#1147) 2024-12-01 16:44:41 +01:00
increment_decrement.go docs: fix rule descriptions (#1147) 2024-12-01 16:44:41 +01:00
indent_error_flow.go docs: fix rule descriptions (#1147) 2024-12-01 16:44:41 +01:00
line_length_limit.go docs: fix rule descriptions (#1147) 2024-12-01 16:44:41 +01:00
max_control_nesting.go docs: fix rule descriptions (#1147) 2024-12-01 16:44:41 +01:00
max_public_structs.go docs: fix rule descriptions (#1147) 2024-12-01 16:44:41 +01:00
modifies_param.go docs: fix rule descriptions (#1147) 2024-12-01 16:44:41 +01:00
modifies_value_receiver.go fix #1066 by ignoring what seems legit modification of value receivers 2024-11-15 09:41:29 +01:00
nested_structs.go refactor: rename files to follow Go convention 2024-11-11 19:31:18 +01:00
optimize_operands_order.go docs: fix rule descriptions (#1147) 2024-12-01 16:44:41 +01:00
package_comments.go refactor: rename files to follow Go convention 2024-11-11 19:31:18 +01:00
range_val_address.go refactor: rename files to follow Go convention 2024-11-11 19:31:18 +01:00
range_val_in_closure.go docs: fix rule descriptions (#1147) 2024-12-01 16:44:41 +01:00
range.go docs: fix rule descriptions (#1147) 2024-12-01 16:44:41 +01:00
receiver_naming.go docs: fix rule descriptions (#1147) 2024-12-01 16:44:41 +01:00
redefines_builtin_id.go refactor: rename files to follow Go convention 2024-11-11 19:31:18 +01:00
redundant_build_tag.go rename unused parameter (#1143) 2024-11-20 22:26:19 +01:00
redundant_import_alias.go docs: fix rule descriptions (#1147) 2024-12-01 16:44:41 +01:00
string_format.go refactor: rename files to follow Go convention 2024-11-11 19:31:18 +01:00
string_of_int.go refactor: rename files to follow Go convention 2024-11-11 19:31:18 +01:00
struct_tag.go refactor: simplify with strings.Prefix, strings.CutPrefix (#1137) 2024-11-19 15:43:04 +01:00
superfluous_else.go feat: optional extension to early-return rule (#1133) (#1138) 2024-11-28 08:51:33 +01:00
time_equal.go refactor: rename files to follow Go convention 2024-11-11 19:31:18 +01:00
time_naming.go docs: fix rule descriptions (#1147) 2024-12-01 16:44:41 +01:00
unchecked_type_assertion.go refactor: replace mutex with sync.Once for rule configuration (#1118) 2024-11-15 12:03:59 +01:00
unconditional_recursion.go docs: fix rule descriptions (#1147) 2024-12-01 16:44:41 +01:00
unexported_naming.go refactor: rename files to follow Go convention 2024-11-11 19:31:18 +01:00
unexported_return.go docs: fix rule descriptions (#1147) 2024-12-01 16:44:41 +01:00
unhandled_error.go docs: fix rule descriptions (#1147) 2024-12-01 16:44:41 +01:00
unnecessary_stmt.go refactor: rename files to follow Go convention 2024-11-11 19:31:18 +01:00
unreachable_code.go refactor: rename files to follow Go convention 2024-11-11 19:31:18 +01:00
unused_param.go refactor: replace mutex with sync.Once for rule configuration (#1118) 2024-11-15 12:03:59 +01:00
unused_receiver.go docs: fix rule descriptions (#1147) 2024-12-01 16:44:41 +01:00
use_any.go docs: fix rule descriptions (#1147) 2024-12-01 16:44:41 +01:00
use_errors_new.go adds rule use-errors-new (#1142) 2024-11-22 08:22:51 +01:00
useless_break.go refactor: rename files to follow Go convention 2024-11-11 19:31:18 +01:00
utils_test.go refactor: avoid duplicated exitFunctions map (#1145) 2024-11-28 08:47:10 +01:00
utils.go refactor: avoid duplicated exitFunctions map (#1145) 2024-11-28 08:47:10 +01:00
var_declarations.go docs: fix rule descriptions (#1147) 2024-12-01 16:44:41 +01:00
var_naming.go docs: fix rule descriptions (#1147) 2024-12-01 16:44:41 +01:00
waitgroup_by_value.go refactor: rename files to follow Go convention 2024-11-11 19:31:18 +01:00