1
0
mirror of https://github.com/mgechev/revive.git synced 2025-01-08 03:13:27 +02:00
revive/test
chavacava 53a111d36e
adds check for receiver names length (#1048)
Co-authored-by: chavacava <salvador.cavadini@gmail.com>
Co-authored-by: yuta nishiyama <57400690+ytnsym@users.noreply.github.com>
2024-09-23 12:38:39 +02: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
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
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
confusing-results_test.go
constant-logical-expr_test.go
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
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 #1002 - add "checkPublicInterface" option to "exported" rule to allow check documentation on public methods on public interfaces (#1003) 2024-07-30 10:36:03 +02:00
file-filter_test.go adds tests for specific go versions (#1043) 2024-09-20 16:09:24 +02:00
file-header_test.go code cleanup: replace interface{} with any (#906) 2023-09-24 08:44:02 +02:00
flag-param_test.go
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
golint_test.go adds tests for specific go versions (#1043) 2024-09-20 16:09:24 +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 extend parsing instructions to use json object instead of plain txt (#929) 2023-11-26 10:18:36 +01: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
modifies-value-receiver_test.go
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 Add multiple scopes support to string-format rule (#1009) 2024-08-09 21:01:17 +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 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
unreachable-code_test.go
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 adds tests for specific go versions (#1043) 2024-09-20 16:09:24 +02:00
var-naming_test.go variable to skip package name checks (#941) 2023-11-30 14:19:31 +01:00
waitgroup-by-value_test.go