1
0
mirror of https://github.com/mgechev/revive.git synced 2024-11-28 08:49:11 +02:00
revive/test
xuri 3c177e2824 New rule: line-length-limit (#86)
* New rule: line-length-limit

* simplify the panic message of rule line-length-limit

* Refactors `line-length-limit` rule, use private `check` method instead of `Visit`
2018-10-19 08:18:33 -04:00
..
add-constant_test.go add-constant (new rule) (#39) 2018-07-17 12:21:27 -07: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
bool-literal-in-expr_test.go bool-literal-in-expr (new rule) (#54) 2018-08-23 11:10:17 -07: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
cyclomatic_test.go Add extra rule 2018-02-04 14:51:19 -08:00
deep-exit_test.go New rule deep-exit (#26) 2018-06-27 06:21:03 +10:00
disable-annotations_test.go Update the documentation for comment annotations 2018-06-01 10:54:30 -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
file-header_test.go Add extra rule 2018-02-04 14:51:19 -08:00
flag-param_test.go flag-parameter (new rule) (#44) 2018-07-21 22:58:48 -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 Improve tests (#18) 2018-06-11 11:22:06 -07:00
import-blacklist_test.go Add the imports-blacklist rule (#68) 2018-09-17 13:06:42 -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
range-val-in-closure_test.go Rename rule range-loop-var to range-val-in-closure. 2018-09-29 11:32:32 +08:00
redefines-builtin-id_test.go redefines-builtin-id (new rule) (#60) 2018-09-13 19:19:49 -07:00
struct-tag_test.go struct-tag (new rule) (#47) 2018-07-28 09:07:31 -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
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 New rule: unused-parameter (#28) 2018-07-07 18:40:02 +10:00
utils.go Fix linter warnings (recommended config) in the code (#71) 2018-09-22 15:27:22 -07:00
var-naming_test.go Add white & black lists for var-naming 2018-09-15 15:05:31 -07:00
waitgroup-by-value_test.go Rename rule name waitgroup-by-copy to waitgroup-by-value 2018-10-03 16:01:41 +08:00