This website requires JavaScript.
Explore
Help
Register
Sign In
go
/
revive
Watch
1
Star
0
Fork
0
You've already forked revive
mirror of
https://github.com/mgechev/revive.git
synced
2025-07-01 00:24:54 +02:00
Code
Issues
Releases
Activity
Files
master
revive
/
testdata
History
Oleksandr Redko
77d0d4a54b
early-return: detect short deviated statements (
#1396
)
2025-06-25 13:51:18 +02:00
..
go1.15
…
go1.21
…
go1.22
…
go1.24
…
golint
…
goUnknown
…
add_constant_default.go
…
add_constant.go
…
argument_limit_default.go
…
argument_limit.go
…
atomic.go
…
banned_characters_default.go
…
banned_characters.go
…
bare_return.go
…
bool_literal_in_expr.go
…
call_to_gc.go
…
cognitive_complexity_default.go
…
cognitive_complexity.go
…
comment_spacings.go
…
comments_density_1.go
…
comments_density_2.go
…
comments_density_3.go
…
confusing_naming1.go
…
confusing_naming2.go
…
confusing_results.go
…
constant_logical_expr.go
…
context_as_argument_default.go
…
context_as_argument.go
…
cyclomatic_2.go
…
cyclomatic_default.go
…
cyclomatic.go
refactor(cyclomatic): improved message for
cyclomatic
rule (
#629
)
2022-01-31 17:33:43 +01:00
datarace.go
…
deep_exit_test.go
…
deep_exit.go
…
defer_loop_disabled.go
…
defer_only_loop_enabled.go
…
defer.go
…
disable_annotations2.go
refactor: gofmt testdata (
#1379
)
2025-05-26 03:54:46 -07:00
disable_annotations3.go
refactor: gofmt testdata (
#1379
)
2025-05-26 03:54:46 -07:00
disable_annotations.go
…
dot_imports_default.go
…
dot_imports.go
…
duplicated_imports.go
…
early_return_jump_scope.go
…
early_return_jump.go
…
early_return_scope.go
…
early_return.go
…
empty_block.go
…
empty_lines.go
…
enforce_map_style_any.go
…
enforce_map_style_literal.go
…
enforce_map_style_make.go
…
enforce_repeated_arg_type_style_default.go
…
enforce_repeated_arg_type_style_full_args.go
…
enforce_repeated_arg_type_style_full_return.go
…
enforce_repeated_arg_type_style_mixed_full_short.go
…
enforce_repeated_arg_type_style_mixed_short_full.go
…
enforce_repeated_arg_type_style_short_args.go
…
enforce_repeated_arg_type_style_short_return.go
…
enforce_slice_style_any.go
…
enforce_slice_style_literal.go
…
enforce_slice_style_make.go
…
enforce_slice_style_nil.go
…
enforce_switch_style_allow_no_default_allow_not_last.go
…
enforce_switch_style_allow_no_default.go
…
enforce_switch_style_allow_not_last.go
…
enforce_switch_style.go
…
error_strings_issue_1243.go
…
error_strings_with_custom_functions.go
…
exported_issue_519.go
…
exported_issue_552.go
…
exported_issue_555.go
…
exported_issue_1002.go
…
exported_issue_1045.go
…
exported_issue_1202.go
fix: invalid message reported for directive comment (
#1209
)
2025-01-27 07:12:16 +01:00
exported_issue_1231.go
…
exported_main.go
…
file_length_limit_4_skip_comments_skip_blank.go
…
file_length_limit_6_skip_blank.go
…
file_length_limit_7_skip_comments.go
…
file_length_limit_9.go
…
file_length_limit_disabled.go
…
file_to_exclude.go
…
filename_ok_default.go
…
filename_with_underscores.go
…
filenamе_with_non_ascii_char.go
…
flag_param.go
…
function_length1.go
…
function_length2.go
…
function_length3.go
…
function_length_default.go
…
function_result_limit.go
…
get_return.go
…
go.mod
…
identical_branches.go
…
if_return.go
…
import_alias_naming_custom_config_with_multiple_values.go
…
import_alias_naming_custom_config_with_only_deny.go
…
import_alias_naming_custom_config.go
…
import_alias_naming.go
…
import_shadowing.go
…
imports_blocklist_original.go
…
imports_blocklist.go
…
indent_error_flow_scope.go
…
indent_error_flow.go
…
json_data_format_atomic.go
…
json_data_format_var_naming.go
…
line_length_limit_default.go
…
line_length_limit.go
…
lint_file_header1.go
…
lint_file_header2.go
…
lint_file_header3.go
…
lint_file_header4.go
…
lint_file_header5.go
…
lint_file_header6.go
…
lint_file_header_default.go
…
max_control_nesting_default.go
…
max_control_nesting.go
…
max_public_structs_ok.go
…
max_public_structs.go
…
modifies_param.go
…
modifies_value_receiver.go
fix(rule/modifies-value-receiver): miss modification by ++/-- (
#1175
)
2024-12-07 13:17:15 +01:00
nested_structs.go
…
optimize_operands_order.go
…
range_val_address.go
…
range_val_in_closure.go
…
receiver_naming_issue_669.go
…
receiver_naming_issue_1040.go
…
redefines_builtin_id.go
…
redundant_build_tag_go116.go
…
redundant_build_tag_no_failure.go
…
redundant_build_tag.go
…
redundant_import_alias.go
…
redundant_test_main_exit_test.go
…
string_format_issue_1063.go
…
string_format.go
…
string_of_int.go
…
struct_tag_user_options.go
…
struct_tag.go
…
superfluous_else_scope.go
…
superfluous_else.go
…
time_date_decimal_literal.go
…
time_date_nil_timezone.go
…
time_date_out_of_bounds.go
…
time_equal.go
…
time_naming.go
…
unchecked_type_assertion_accept_ignored.go
…
unchecked_type_assertion.go
…
unconditional_recursion.go
…
unexported_naming.go
…
unexported_return_package_foo_test.go
…
unexported_return_package_foo.go
…
unexported_return_package_footest_test.go
…
unexported_return_package_main_test.go
…
unexported_return_package_main.go
…
unexported_return_package_maintest_test.go
…
unhandled_error_w_ignorelist.go
…
unhandled_error.go
…
unnecessary_format.go
…
unnecessary_stmt.go
…
unreachable_code.go
…
unused_param_custom_regex.go
…
unused_param.go
…
unused_receiver_custom_regex.go
…
unused_receiver.go
…
use_any.go
…
use_errors_new.go
…
use_fmt_print_with_redefinition.go
…
use_fmt_print.go
…
useless_break.go
…
var_naming_bad_package_name.go
var-naming: detect meaningless package names (
#1312
)
2025-04-16 02:30:28 -07:00
var_naming_meaningless_package_name.go
…
var_naming_skip_package_name_checks_false.go
…
var_naming_skip_package_name_checks_true.go
…
var_naming_test.go
…
var_naming_upper_case_const_false.go
refactor: rename files to follow Go convention
2024-11-11 19:31:18 +01:00
var_naming_upper_case_const_true.go
…
var_naming.go
…
waitgroup_by_value.go
…