1
0
mirror of https://github.com/mgechev/revive.git synced 2024-11-24 08:32:22 +02:00
revive/test
2024-11-04 09:19:29 -03:00
..
add-constant_test.go fix(1007): return Sel.Name as FuncName when selector is an CallExpr (#1012) 2024-07-19 10:33:27 +02:00
argument-limit_test.go code cleanup: replace interface{} with any (#906) 2023-09-24 08:44:02 +02:00
atomic_test.go New rule: atomic (#77) 2018-10-01 12:24:17 -07:00
banned-characters_test.go code cleanup: replace interface{} with any (#906) 2023-09-24 08:44:02 +02:00
bare-return_test.go bare-return (first working version) (#117) 2019-04-17 22:55:52 +02:00
bool-literal-in-expr_test.go bool-literal-in-expr (new rule) (#54) 2018-08-23 11:10:17 -07:00
call-to-gc_test.go call-to-gc (new rule) (#90) 2018-10-31 07:32:23 -07:00
cognitive-complexity_test.go code cleanup: replace interface{} with any (#906) 2023-09-24 08:44:02 +02:00
comment-spacings_test.go remove colon suffix in comment-spacings rule (#981) 2024-04-19 16:39:59 +02:00
comments-density_test.go adds comments-density rule (#979) 2024-04-20 10:20:56 +02:00
confusing-naming_test.go New rule: Confusing naming (#16) 2018-07-02 12:05:20 +10:00
confusing-results_test.go New rule: confusing-results (#27) 2018-07-02 12:09:58 +10:00
constant-logical-expr_test.go constant-logical-expr (new rule) (#55) 2018-08-23 11:45:10 -07:00
context-as-argument_test.go code cleanup: replace interface{} with any (#906) 2023-09-24 08:44:02 +02:00
cyclomatic_test.go code cleanup: replace interface{} with any (#906) 2023-09-24 08:44:02 +02:00
datarace_test.go adds tests for specific go versions (#1043) 2024-09-20 16:09:24 +02:00
deep-exit_test.go fixes issue 290 (#294) 2020-01-07 14:46:21 -08:00
defer_test.go code cleanup: replace interface{} with any (#906) 2023-09-24 08:44:02 +02:00
disable-annotations_test.go Comment spacing rule (#761) 2022-10-29 19:32:42 +02:00
doc.go Code cleaunp (#905) 2023-09-23 10:41:34 +02:00
dot_imports_test.go [dot-imports] support allow list of packages (#939) 2023-11-26 10:07:12 +01:00
duplicated-import_test.go New rule: duplicated-imports (#111) 2019-03-20 11:54:03 -07:00
early-return_test.go code cleanup: replace interface{} with any (#906) 2023-09-24 08:44:02 +02:00
empty-block_test.go Adds new rule empty-block (#14) 2018-06-08 12:41:49 -07:00
empty-lines_test.go Introduce the empty-lines rule that verifies there are no {head,trail}ing lines (#81) 2018-10-11 14:52:46 -07:00
enforce-map-style_test.go code cleanup: replace interface{} with any (#906) 2023-09-24 08:44:02 +02:00
enforce-repeated-arg-type-style_test.go feat: add support for enforce-repeated-arg-type-style rule (#953) 2023-12-27 10:30:09 +01:00
enforce-slice-style_test.go enforce-slice-style: Support nil declaration enforcement (#974) 2024-02-26 11:58:31 +01:00
error-strings-custom-functions_test.go code cleanup: replace interface{} with any (#906) 2023-09-24 08:44:02 +02:00
exported_test.go rule.exported: add feature to disable checking on const,method,function, variable (#1047) 2024-10-02 10:46:52 +02:00
file-filter_test.go refactor: fix typo in the field name of TestFileFilterRule (#1086) 2024-10-29 13:33:18 +01:00
file-header_test.go code cleanup: replace interface{} with any (#906) 2023-09-24 08:44:02 +02:00
file-length-limit_test.go feat: add file-length-limit rule (#1072) 2024-10-26 07:40:24 -03:00
filename-format_test.go adds filename-format rule (#1092) 2024-11-02 14:23:46 -03:00
flag-param_test.go flag-parameter (new rule) (#44) 2018-07-21 22:58:48 -07:00
function-length_test.go code cleanup: replace interface{} with any (#906) 2023-09-24 08:44:02 +02:00
function-result-limit_test.go code cleanup: replace interface{} with any (#906) 2023-09-24 08:44:02 +02:00
get-return_test.go New rule: get-return (#23) 2018-06-22 21:21:09 +10:00
golint_test.go refactor: use "filepath" instead of "path" (#1073) 2024-10-25 11:48:41 +02:00
identical-branches_test.go identical-branches initial implementation 2020-05-08 22:08:16 +02:00
if-return_test.go fix issue #537 (#538) 2021-06-29 13:04:51 -07:00
import-alias-naming_test.go Add denyRegex support for import-alias-naming rule (#927) 2023-10-29 13:19:53 +01:00
import-blocklist_test.go refactor: rename blacklist to blocklist and whitelist to allowlist (#946) 2024-01-15 12:16:00 +01:00
import-shadowing_test.go new rule: import shadowing (#114) 2019-03-27 11:46:20 -07:00
json-data-format_test.go chore: remove unnecessary empty lines (#1080) 2024-10-26 07:35:02 -03:00
line-length-limit_test.go code cleanup: replace interface{} with any (#906) 2023-09-24 08:44:02 +02:00
max-control-nesting_test.go Adds rule max-control-nesting (#967) 2024-01-28 12:22:41 +01:00
max-public-structs_test.go code cleanup: replace interface{} with any (#906) 2023-09-24 08:44:02 +02:00
modifies-param_test.go New rule: modifies-parameter (#25) 2018-06-24 17:26:21 +10:00
modifies-value-receiver_test.go modifies-value-receiver (new rule) (#51) 2018-08-13 15:18:28 -07:00
nested-structs_test.go new rule: nested-structs (#530) 2021-06-15 11:36:41 +02:00
optimize-operands-order_test.go Add optimize-operands-order rule (#599) (#603) 2021-10-23 09:29:14 +02:00
range-val-address_test.go adds tests for specific go versions (#1043) 2024-09-20 16:09:24 +02:00
range-val-in-closure_test.go adds tests for specific go versions (#1043) 2024-09-20 16:09:24 +02:00
receiver-naming_test.go adds check for receiver names length (#1048) 2024-09-23 12:38:39 +02:00
redefines-builtin-id_test.go adds tests for specific go versions (#1043) 2024-09-20 16:09:24 +02:00
redundant-import-alias_test.go feat: add rule for redundant import alias (#854) 2023-07-31 08:22:40 +02:00
string-format_test.go fix duplicated findings for string-format when there is more than one… (#1085) 2024-11-04 09:19:29 -03:00
string-of-int_test.go Add revive linting action and fix linting errors (#455) 2020-08-15 00:50:13 +03:00
struct-tag_test.go code cleanup: replace interface{} with any (#906) 2023-09-24 08:44:02 +02:00
superfluous-else_test.go code cleanup: replace interface{} with any (#906) 2023-09-24 08:44:02 +02:00
time-equal_test.go add new rule time equal (#584) 2021-10-01 13:55:53 +02:00
time-naming_test.go fix: time-naming issue #571 (#572) 2021-09-12 16:09:14 -07:00
unchecked_type_assertion_test.go Add unchecked-type-assertion (#889) 2023-09-17 10:58:45 +02:00
unconditional-recursion_test.go first working version 2020-05-09 17:10:34 +02:00
unhandled-error_test.go code cleanup: replace interface{} with any (#906) 2023-09-24 08:44:02 +02:00
unnecessary-stmt_test.go unnecessary-stmt (new rule) (#45) 2018-07-27 22:38:39 -07:00
unreachable-code_test.go New rule: unreachable-code (#38) 2018-07-16 14:23:47 -07:00
unused-param_test.go code cleanup: replace interface{} with any (#906) 2023-09-24 08:44:02 +02:00
unused-receiver_test.go code cleanup: replace interface{} with any (#906) 2023-09-24 08:44:02 +02:00
unxeported-naming_test.go new rule: unexported-naming (#443) 2020-07-23 02:17:20 +03:00
use-any_test.go adds rule use-any (#660) 2022-03-29 11:25:38 -07:00
useless-break_test.go add new rule useless-break (#551) 2021-08-15 15:30:08 -07:00
utils_test.go revive: add revive.toml for linting revive itself (#1094) 2024-11-04 09:18:17 -03:00
var-naming_test.go chore: remove unnecessary empty lines (#1080) 2024-10-26 07:35:02 -03:00
waitgroup-by-value_test.go Rename rule name waitgroup-by-copy to waitgroup-by-value 2018-10-03 16:01:41 +08:00