1
0
mirror of https://github.com/mgechev/revive.git synced 2024-11-28 08:49:11 +02:00
revive/test
2023-03-14 16:16:12 -07:00
..
add-constant_test.go fix #759 [rule.add-constant] change 'ignoreFuncs' expressions in documentation and test (#760) 2022-10-15 11:24:32 +02:00
argument-limit_test.go Add tests for the arguments limit 2018-02-04 15:10:35 -08:00
atomic_test.go New rule: atomic (#77) 2018-10-01 12:24:17 -07:00
banned-characters_test.go Add banned characters rule (#532) (#591) 2021-10-14 20:56:29 +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 firts working version 2019-12-14 08:27:06 +01:00
comment-spacings_test.go Comment spacing rule (#761) 2022-10-29 19:32:42 +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 Allow whitelist for the context parameter check (#616) 2021-12-31 17:11:18 -08:00
cyclomatic_test.go Add extra rule 2018-02-04 14:51:19 -08:00
datarace_test.go add rule datarace (#683) 2022-04-18 09:45:42 -07:00
deep-exit_test.go fixes issue 290 (#294) 2020-01-07 14:46:21 -08:00
defer_test.go adds defer rule 2020-06-08 09:40:38 -07:00
disable-annotations_test.go Comment spacing rule (#761) 2022-10-29 19:32:42 +02:00
duplicated-import_test.go New rule: duplicated-imports (#111) 2019-03-20 11:54:03 -07:00
early-return_test.go Late return rule (#406) 2020-05-08 11:14:21 -07: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
error-strings-custom-functions_test.go Allow to customize user functions in rule error-strings (#703) 2022-07-05 21:51:50 +02:00
exported_test.go Exported config (#565) 2021-08-26 08:36:24 -07:00
file-header_test.go Revert benchmark code 2019-11-28 10:19:08 +07:00
flag-param_test.go flag-parameter (new rule) (#44) 2018-07-21 22:58:48 -07:00
function-length_test.go new rule function-length (#504) 2021-03-20 15:45:30 -07:00
function-result-limit_test.go Add test case for function-result-limit rule, and updated README 2018-09-17 18:50:04 +08:00
get-return_test.go New rule: get-return (#23) 2018-06-22 21:21:09 +10:00
golint_test.go Allow whitelist for the context parameter check (#616) 2021-12-31 17:11:18 -08: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-blacklist_test.go Fixes issue #619 imports-blacklist support regex (#684) 2022-04-21 16:04:00 +02:00
import-shadowing_test.go new rule: import shadowing (#114) 2019-03-27 11:46:20 -07:00
line-length-limit_test.go New rule: line-length-limit (#86) 2018-10-19 08:18:33 -04:00
max-public-structs_test.go Add extra rule 2018-02-04 14:51:19 -08: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 Add rule 'range-val-address' (#353) 2020-02-26 10:33:00 -10:00
range-val-in-closure_test.go Rename rule range-loop-var to range-val-in-closure. 2018-09-29 11:32:32 +08:00
receiver-naming_test.go fix(receiver-naming): distinguish types with parameters (#692) 2022-06-18 18:47:53 +02:00
redefines-builtin-id_test.go redefines-builtin-id (new rule) (#60) 2018-09-13 19:19:49 -07:00
string-format_test.go Allows inversing the semantics of string-format rule configurations (#765) 2022-10-24 20:48:41 +02: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 fix issue #520 (#802) 2023-03-14 16:16:12 -07:00
superfluous-else_test.go Adds rule superfluous-else (an extension of indent-error-flow) (#13) 2018-06-08 07:06:29 -07: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
unconditional-recursion_test.go first working version 2020-05-09 17:10:34 +02:00
unhandled-error_test.go fix #754 [rule.unhandled-error] change arguments to regexp (#757) 2022-11-09 13:13:52 +01: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 Fix review comments 2019-11-28 10:14:21 +07:00
unused-receiver_test.go new rule: unused-receiver (#119) 2019-04-18 10:35:51 -07: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.go Comment spacing rule (#761) 2022-10-29 19:32:42 +02:00
var-naming_test.go fix #622 (Rule 'var-naming' should allow Fuzz_xxx) (#623) 2022-01-18 15:26:29 +01:00
waitgroup-by-value_test.go Rename rule name waitgroup-by-copy to waitgroup-by-value 2018-10-03 16:01:41 +08:00