shard-ameba/spec/ameba/rule/lint
fn ⌃ ⌥ 7b437fbd2f
Remove normalize parameter from expect_issue (#249)
* Add `normalize` parameter to `expect_correction`

* Convert Style/IsAFilter spec

* Revert "Add `normalize` parameter to `expect_correction`"

This reverts commit 4b67e4b900.

* Remove `normalize` parameter from `expect_issue`

* Require indentation if multiple issues on a single line

* Update `Style/IsAFilter` spec

* Update `ExpectIssue` documentation

* Add missing `expect_no_corrections`

* Use carets and space with issues at column 1 or 2

* Update `expect_issue` docs
2021-11-06 15:15:19 +02:00
..
ambiguous_assignment_spec.cr Add Lint/AmbiguousAssignment rule (#244) 2021-10-19 11:44:41 +02:00
bad_directive_spec.cr Make InlineComments::COMMENT_DIRECTIVE_REGEX more strict (#146) 2020-04-11 09:55:41 +03:00
comparison_to_boolean_spec.cr Track issue.end_location properly 2018-11-24 19:38:13 +02:00
debugger_statement_spec.cr Remove normalize parameter from expect_issue (#249) 2021-11-06 15:15:19 +02:00
duplicated_require_spec.cr Remove normalize parameter from expect_issue (#249) 2021-11-06 15:15:19 +02:00
empty_ensure_spec.cr Track issue.end_location properly 2018-11-24 19:38:13 +02:00
empty_expression_spec.cr Fix typos throughout the codebase 2021-07-03 14:15:23 +02:00
empty_loop_spec.cr New rule: EmptyLoop 2020-03-26 10:27:00 +02:00
hash_duplicated_key_spec.cr Track issue.end_location properly 2018-11-24 19:38:13 +02:00
literal_in_condition_spec.cr Properly report literals (#96) 2019-03-23 19:20:32 +02:00
literal_in_interpolation_spec.cr Lint/LiteralInInterpolation: properly report node position 2020-03-27 19:44:04 +02:00
percent_arrays_spec.cr Track issue.end_location properly 2018-11-24 19:38:13 +02:00
rand_zero_spec.cr Track issue.end_location properly 2018-11-24 19:38:13 +02:00
redundant_string_cercion_spec.cr RedundantStringCoercion: do not report to_s with named args 2020-06-24 09:26:03 +03:00
redundant_with_index_spec.cr New rule: RedundantWithIndex (#120) 2019-11-10 09:29:17 +02:00
redundant_with_object_spec.cr Optimize rules (#185) 2021-01-17 14:16:04 +02:00
shadowed_argument_spec.cr Track issue.end_location properly 2018-11-24 19:38:13 +02:00
shadowed_exception_spec.cr Fix several misspellings (#94) 2019-02-23 07:06:28 +02:00
shadowing_local_outer_var_spec.cr Fix typos throughout the codebase 2021-07-03 14:15:23 +02:00
shared_var_in_fiber_spec.cr Remove normalize parameter from expect_issue (#249) 2021-11-06 15:15:19 +02:00
spec_focus_spec.cr NewRule: SpecFocus 2021-02-03 17:10:07 +02:00
syntax_spec.cr Set default severities 2019-04-14 12:15:38 +03:00
unneded_disable_directive_spec.cr Normalize sources for tests 2018-09-07 15:07:03 +03:00
unreachable_code_spec.cr Track issue.end_location properly 2018-11-24 19:38:13 +02:00
unused_argument_spec.cr Lint/UnusedArgument: fails to recognized used argument inside macro 2019-10-27 21:32:55 +02:00
useless_assign_spec.cr Avoid exponential recursion while finding variable references in scopes (#203) 2021-01-31 16:40:44 +02:00
useless_condition_in_when_spec.cr Track issue.end_location properly 2018-11-24 19:38:13 +02:00