Deploying to gh-pages from @ be65ba2a92 🚀

This commit is contained in:
Sija 2022-11-29 18:15:10 +00:00
parent dcc0c5258a
commit 1d87de9ea9
123 changed files with 756 additions and 969 deletions

View file

@ -933,7 +933,7 @@ that are tested by this rule, it should add an issue.</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/base.cr#L29" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/base.cr#L29" target="_blank">
ameba/rule/base.cr
</a>
@ -1170,7 +1170,7 @@ that are tested by this rule, it should add an issue.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/base.cr#L107" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/base.cr#L107" target="_blank">View source</a>]
</div>
</div>
@ -1194,7 +1194,7 @@ source.valid?</code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/base.cr#L52" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/base.cr#L52" target="_blank">View source</a>]
</div>
</div>
@ -1218,7 +1218,7 @@ the one of the given source.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/base.cr#L90" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/base.cr#L90" target="_blank">View source</a>]
</div>
</div>
@ -1244,7 +1244,7 @@ the one of the given source.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/base.cr#L79" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/base.cr#L79" target="_blank">View source</a>]
</div>
</div>
@ -1274,7 +1274,7 @@ though usually the macro <code>def_hash</code> can be used to generate this meth
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/base.cr#L111" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/base.cr#L111" target="_blank">View source</a>]
</div>
</div>
@ -1301,7 +1301,7 @@ though usually the macro <code>def_hash</code> can be used to generate this meth
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/base.cr#L66" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/base.cr#L66" target="_blank">View source</a>]
</div>
</div>
@ -1324,7 +1324,7 @@ usual rules.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/base.cr#L103" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/base.cr#L103" target="_blank">View source</a>]
</div>
</div>
@ -1340,7 +1340,7 @@ usual rules.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/base.cr#L41" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/base.cr#L41" target="_blank">View source</a>]
</div>
</div>
@ -1364,7 +1364,7 @@ that are tested by this rule, it should add an issue.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/base.cr#L37" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/base.cr#L37" target="_blank">View source</a>]
</div>
</div>
@ -1392,7 +1392,7 @@ that are tested by this rule, it should add an issue.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/base.cr#L115" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/base.cr#L115" target="_blank">View source</a>]
</div>
</div>

View file

@ -771,21 +771,21 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/layout/line_length.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/layout/line_length.cr#L1" target="_blank">
ameba/rule/layout/line_length.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/layout/trailing_blank_lines.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/layout/trailing_blank_lines.cr#L1" target="_blank">
ameba/rule/layout/trailing_blank_lines.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/layout/trailing_whitespace.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/layout/trailing_whitespace.cr#L1" target="_blank">
ameba/rule/layout/trailing_whitespace.cr
</a>

View file

@ -804,7 +804,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/layout/line_length.cr#L11" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/layout/line_length.cr#L11" target="_blank">
ameba/rule/layout/line_length.cr
</a>
@ -1113,7 +1113,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/layout/line_length.cr#L11" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/layout/line_length.cr#L11" target="_blank">View source</a>]
</div>
</div>
@ -1322,7 +1322,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/layout/line_length.cr#L20" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/layout/line_length.cr#L20" target="_blank">View source</a>]
</div>
</div>

View file

@ -803,7 +803,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/layout/trailing_blank_lines.cr#L10" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/layout/trailing_blank_lines.cr#L10" target="_blank">
ameba/rule/layout/trailing_blank_lines.cr
</a>
@ -1106,7 +1106,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/layout/trailing_blank_lines.cr#L10" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/layout/trailing_blank_lines.cr#L10" target="_blank">View source</a>]
</div>
</div>
@ -1287,7 +1287,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/layout/trailing_blank_lines.cr#L18" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/layout/trailing_blank_lines.cr#L18" target="_blank">View source</a>]
</div>
</div>

View file

@ -803,7 +803,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/layout/trailing_whitespace.cr#L10" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/layout/trailing_whitespace.cr#L10" target="_blank">
ameba/rule/layout/trailing_whitespace.cr
</a>
@ -1101,7 +1101,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/layout/trailing_whitespace.cr#L10" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/layout/trailing_whitespace.cr#L10" target="_blank">View source</a>]
</div>
</div>
@ -1282,7 +1282,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/layout/trailing_whitespace.cr#L17" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/layout/trailing_whitespace.cr#L17" target="_blank">View source</a>]
</div>
</div>

View file

@ -771,224 +771,224 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/ambiguous_assignment.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/ambiguous_assignment.cr#L1" target="_blank">
ameba/rule/lint/ambiguous_assignment.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/bad_directive.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/bad_directive.cr#L1" target="_blank">
ameba/rule/lint/bad_directive.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/comparison_to_boolean.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/comparison_to_boolean.cr#L1" target="_blank">
ameba/rule/lint/comparison_to_boolean.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/debug_calls.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/debug_calls.cr#L1" target="_blank">
ameba/rule/lint/debug_calls.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/debugger_statement.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/debugger_statement.cr#L1" target="_blank">
ameba/rule/lint/debugger_statement.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/duplicated_require.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/duplicated_require.cr#L1" target="_blank">
ameba/rule/lint/duplicated_require.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/empty_ensure.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/empty_ensure.cr#L1" target="_blank">
ameba/rule/lint/empty_ensure.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/empty_expression.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/empty_expression.cr#L1" target="_blank">
ameba/rule/lint/empty_expression.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/empty_loop.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/empty_loop.cr#L1" target="_blank">
ameba/rule/lint/empty_loop.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/hash_duplicated_key.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/hash_duplicated_key.cr#L1" target="_blank">
ameba/rule/lint/hash_duplicated_key.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/literal_assignments_in_expressions.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/literal_assignments_in_expressions.cr#L1" target="_blank">
ameba/rule/lint/literal_assignments_in_expressions.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/literal_in_condition.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/literal_in_condition.cr#L1" target="_blank">
ameba/rule/lint/literal_in_condition.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/literal_in_interpolation.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/literal_in_interpolation.cr#L1" target="_blank">
ameba/rule/lint/literal_in_interpolation.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/literals_comparison.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/literals_comparison.cr#L1" target="_blank">
ameba/rule/lint/literals_comparison.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/not_nil.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/not_nil.cr#L1" target="_blank">
ameba/rule/lint/not_nil.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/not_nil_after_no_bang.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/not_nil_after_no_bang.cr#L1" target="_blank">
ameba/rule/lint/not_nil_after_no_bang.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/percent_array.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/percent_array.cr#L1" target="_blank">
ameba/rule/lint/percent_array.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/rand_zero.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/rand_zero.cr#L1" target="_blank">
ameba/rule/lint/rand_zero.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/redundant_string_coercion.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/redundant_string_coercion.cr#L1" target="_blank">
ameba/rule/lint/redundant_string_coercion.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/redundant_with_index.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/redundant_with_index.cr#L1" target="_blank">
ameba/rule/lint/redundant_with_index.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/redundant_with_object.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/redundant_with_object.cr#L1" target="_blank">
ameba/rule/lint/redundant_with_object.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/shadowed_argument.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/shadowed_argument.cr#L1" target="_blank">
ameba/rule/lint/shadowed_argument.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/shadowed_exception.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/shadowed_exception.cr#L1" target="_blank">
ameba/rule/lint/shadowed_exception.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/shadowing_outer_local_var.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/shadowing_outer_local_var.cr#L1" target="_blank">
ameba/rule/lint/shadowing_outer_local_var.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/shared_var_in_fiber.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/shared_var_in_fiber.cr#L1" target="_blank">
ameba/rule/lint/shared_var_in_fiber.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/spec_focus.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/spec_focus.cr#L1" target="_blank">
ameba/rule/lint/spec_focus.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/syntax.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/syntax.cr#L1" target="_blank">
ameba/rule/lint/syntax.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/unneeded_disable_directive.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/unneeded_disable_directive.cr#L1" target="_blank">
ameba/rule/lint/unneeded_disable_directive.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/unreachable_code.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/unreachable_code.cr#L1" target="_blank">
ameba/rule/lint/unreachable_code.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/unused_argument.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/unused_argument.cr#L1" target="_blank">
ameba/rule/lint/unused_argument.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/useless_assign.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/useless_assign.cr#L1" target="_blank">
ameba/rule/lint/useless_assign.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/useless_condition_in_when.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/useless_condition_in_when.cr#L1" target="_blank">
ameba/rule/lint/useless_condition_in_when.cr
</a>

View file

@ -814,7 +814,7 @@ x <span class="o">!=</span> y <span class="c"># or x = !y</span></code></pre>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/ambiguous_assignment.cr#L20" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/ambiguous_assignment.cr#L20" target="_blank">
ameba/rule/lint/ambiguous_assignment.cr
</a>
@ -1215,7 +1215,7 @@ x <span class="o">!=</span> y <span class="c"># or x = !y</span></code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/ambiguous_assignment.cr#L20" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/ambiguous_assignment.cr#L20" target="_blank">View source</a>]
</div>
</div>
@ -1396,7 +1396,7 @@ x <span class="o">!=</span> y <span class="c"># or x = !y</span></code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/ambiguous_assignment.cr#L35" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/ambiguous_assignment.cr#L35" target="_blank">View source</a>]
</div>
</div>

View file

@ -809,7 +809,7 @@ to disable a rule that even doesn't exist:</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/bad_directive.cr#L20" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/bad_directive.cr#L20" target="_blank">
ameba/rule/lint/bad_directive.cr
</a>
@ -1123,7 +1123,7 @@ to disable a rule that even doesn't exist:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/bad_directive.cr#L20" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/bad_directive.cr#L20" target="_blank">View source</a>]
</div>
</div>
@ -1304,7 +1304,7 @@ to disable a rule that even doesn't exist:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/bad_directive.cr#L29" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/bad_directive.cr#L29" target="_blank">View source</a>]
</div>
</div>

View file

@ -812,7 +812,7 @@ or negating the variable.</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/comparison_to_boolean.cr#L22" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/comparison_to_boolean.cr#L22" target="_blank">
ameba/rule/lint/comparison_to_boolean.cr
</a>
@ -1211,7 +1211,7 @@ or negating the variable.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/comparison_to_boolean.cr#L22" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/comparison_to_boolean.cr#L22" target="_blank">View source</a>]
</div>
</div>
@ -1392,7 +1392,7 @@ or negating the variable.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/comparison_to_boolean.cr#L33" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/comparison_to_boolean.cr#L33" target="_blank">View source</a>]
</div>
</div>

View file

@ -810,7 +810,7 @@ committed into our codebase.</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/debug_calls.cr#L18" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/debug_calls.cr#L18" target="_blank">
ameba/rule/lint/debug_calls.cr
</a>
@ -1125,7 +1125,7 @@ committed into our codebase.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/debug_calls.cr#L18" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/debug_calls.cr#L18" target="_blank">View source</a>]
</div>
</div>
@ -1334,7 +1334,7 @@ committed into our codebase.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/debug_calls.cr#L26" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/debug_calls.cr#L26" target="_blank">View source</a>]
</div>
</div>

View file

@ -805,7 +805,7 @@ committed into our codebase.</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/debugger_statement.cr#L13" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/debugger_statement.cr#L13" target="_blank">
ameba/rule/lint/debugger_statement.cr
</a>
@ -1105,7 +1105,7 @@ committed into our codebase.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/debugger_statement.cr#L13" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/debugger_statement.cr#L13" target="_blank">View source</a>]
</div>
</div>
@ -1286,7 +1286,7 @@ committed into our codebase.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/debugger_statement.cr#L20" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/debugger_statement.cr#L20" target="_blank">View source</a>]
</div>
</div>

View file

@ -806,7 +806,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/duplicated_require.cr#L16" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/duplicated_require.cr#L16" target="_blank">
ameba/rule/lint/duplicated_require.cr
</a>
@ -1107,7 +1107,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/duplicated_require.cr#L16" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/duplicated_require.cr#L16" target="_blank">View source</a>]
</div>
</div>
@ -1288,7 +1288,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/duplicated_require.cr#L23" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/duplicated_require.cr#L23" target="_blank">View source</a>]
</div>
</div>

View file

@ -825,7 +825,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/empty_ensure.cr#L41" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/empty_ensure.cr#L41" target="_blank">
ameba/rule/lint/empty_ensure.cr
</a>
@ -1145,7 +1145,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/empty_ensure.cr#L41" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/empty_ensure.cr#L41" target="_blank">View source</a>]
</div>
</div>
@ -1326,7 +1326,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/empty_ensure.cr#L48" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/empty_ensure.cr#L48" target="_blank">View source</a>]
</div>
</div>

View file

@ -817,7 +817,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/empty_expression.cr#L30" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/empty_expression.cr#L30" target="_blank">
ameba/rule/lint/empty_expression.cr
</a>
@ -1226,7 +1226,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/empty_expression.cr#L30" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/empty_expression.cr#L30" target="_blank">View source</a>]
</div>
</div>
@ -1407,7 +1407,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/empty_expression.cr#L40" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/empty_expression.cr#L40" target="_blank">View source</a>]
</div>
</div>
@ -1423,7 +1423,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/empty_expression.cr#L47" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/empty_expression.cr#L47" target="_blank">View source</a>]
</div>
</div>

View file

@ -827,7 +827,7 @@ loop <span class="k">do</span>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/empty_loop.cr#L40" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/empty_loop.cr#L40" target="_blank">
ameba/rule/lint/empty_loop.cr
</a>
@ -960,12 +960,7 @@ loop <span class="k">do</span>
</li>
<li class="entry-summary">
<a href="#test%28source%2Cnode%3ACrystal%3A%3AWhile%29-instance-method" class="signature"><strong>#test</strong>(source, node : Crystal::While)</a>
</li>
<li class="entry-summary">
<a href="#test%28source%2Cnode%3ACrystal%3A%3AUntil%29-instance-method" class="signature"><strong>#test</strong>(source, node : Crystal::Until)</a>
<a href="#test%28source%2Cnode%3ACrystal%3A%3AWhile%7CCrystal%3A%3AUntil%29-instance-method" class="signature"><strong>#test</strong>(source, node : Crystal::While | Crystal::Until)</a>
</li>
@ -1246,7 +1241,7 @@ loop <span class="k">do</span>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/empty_loop.cr#L40" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/empty_loop.cr#L40" target="_blank">View source</a>]
</div>
</div>
@ -1427,39 +1422,23 @@ loop <span class="k">do</span>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/empty_loop.cr#L49" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/empty_loop.cr#L49" target="_blank">View source</a>]
</div>
</div>
<div class="entry-detail" id="test(source,node:Crystal::While)-instance-method">
<div class="entry-detail" id="test(source,node:Crystal::While|Crystal::Until)-instance-method">
<div class="signature">
def <strong>test</strong>(source, node : Crystal::While)
def <strong>test</strong>(source, node : Crystal::While | Crystal::Until)
<a class="method-permalink" href="#test%28source%2Cnode%3ACrystal%3A%3AWhile%29-instance-method">#</a>
<a class="method-permalink" href="#test%28source%2Cnode%3ACrystal%3A%3AWhile%7CCrystal%3A%3AUntil%29-instance-method">#</a>
</div>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/empty_loop.cr#L55" target="_blank">View source</a>]
</div>
</div>
<div class="entry-detail" id="test(source,node:Crystal::Until)-instance-method">
<div class="signature">
def <strong>test</strong>(source, node : Crystal::Until)
<a class="method-permalink" href="#test%28source%2Cnode%3ACrystal%3A%3AUntil%29-instance-method">#</a>
</div>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/empty_loop.cr#L59" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/empty_loop.cr#L55" target="_blank">View source</a>]
</div>
</div>

View file

@ -807,7 +807,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/hash_duplicated_key.cr#L22" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/hash_duplicated_key.cr#L22" target="_blank">
ameba/rule/lint/hash_duplicated_key.cr
</a>
@ -1109,7 +1109,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/hash_duplicated_key.cr#L22" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/hash_duplicated_key.cr#L22" target="_blank">View source</a>]
</div>
</div>
@ -1290,7 +1290,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/hash_duplicated_key.cr#L29" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/hash_duplicated_key.cr#L29" target="_blank">View source</a>]
</div>
</div>

View file

@ -814,7 +814,7 @@ in control expressions.</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/literal_assignments_in_expressions.cr#L27" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/literal_assignments_in_expressions.cr#L27" target="_blank">
ameba/rule/lint/literal_assignments_in_expressions.cr
</a>
@ -1210,7 +1210,7 @@ in control expressions.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/literal_assignments_in_expressions.cr#L27" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/literal_assignments_in_expressions.cr#L27" target="_blank">View source</a>]
</div>
</div>
@ -1391,7 +1391,7 @@ in control expressions.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/literal_assignments_in_expressions.cr#L36" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/literal_assignments_in_expressions.cr#L36" target="_blank">View source</a>]
</div>
</div>

View file

@ -813,7 +813,7 @@ replaced with either the body of the construct, or deleted entirely.</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/literal_in_condition.cr#L22" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/literal_in_condition.cr#L22" target="_blank">
ameba/rule/lint/literal_in_condition.cr
</a>
@ -946,17 +946,7 @@ replaced with either the body of the construct, or deleted entirely.</p>
</li>
<li class="entry-summary">
<a href="#test%28source%2Cnode%3ACrystal%3A%3AIf%29-instance-method" class="signature"><strong>#test</strong>(source, node : Crystal::If)</a>
</li>
<li class="entry-summary">
<a href="#test%28source%2Cnode%3ACrystal%3A%3AUnless%29-instance-method" class="signature"><strong>#test</strong>(source, node : Crystal::Unless)</a>
</li>
<li class="entry-summary">
<a href="#test%28source%2Cnode%3ACrystal%3A%3ACase%29-instance-method" class="signature"><strong>#test</strong>(source, node : Crystal::Case)</a>
<a href="#test%28source%2Cnode%3ACrystal%3A%3AIf%7CCrystal%3A%3AUnless%7CCrystal%3A%3ACase%29-instance-method" class="signature"><strong>#test</strong>(source, node : Crystal::If | Crystal::Unless | Crystal::Case)</a>
</li>
@ -1223,7 +1213,7 @@ replaced with either the body of the construct, or deleted entirely.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/literal_in_condition.cr#L22" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/literal_in_condition.cr#L22" target="_blank">View source</a>]
</div>
</div>
@ -1292,7 +1282,7 @@ replaced with either the body of the construct, or deleted entirely.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/literal_in_condition.cr#L32" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/literal_in_condition.cr#L32" target="_blank">View source</a>]
</div>
</div>
@ -1409,50 +1399,18 @@ replaced with either the body of the construct, or deleted entirely.</p>
</div>
</div>
<div class="entry-detail" id="test(source,node:Crystal::If)-instance-method">
<div class="entry-detail" id="test(source,node:Crystal::If|Crystal::Unless|Crystal::Case)-instance-method">
<div class="signature">
def <strong>test</strong>(source, node : Crystal::If)
def <strong>test</strong>(source, node : Crystal::If | Crystal::Unless | Crystal::Case)
<a class="method-permalink" href="#test%28source%2Cnode%3ACrystal%3A%3AIf%29-instance-method">#</a>
<a class="method-permalink" href="#test%28source%2Cnode%3ACrystal%3A%3AIf%7CCrystal%3A%3AUnless%7CCrystal%3A%3ACase%29-instance-method">#</a>
</div>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/literal_in_condition.cr#L36" target="_blank">View source</a>]
</div>
</div>
<div class="entry-detail" id="test(source,node:Crystal::Unless)-instance-method">
<div class="signature">
def <strong>test</strong>(source, node : Crystal::Unless)
<a class="method-permalink" href="#test%28source%2Cnode%3ACrystal%3A%3AUnless%29-instance-method">#</a>
</div>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/literal_in_condition.cr#L40" target="_blank">View source</a>]
</div>
</div>
<div class="entry-detail" id="test(source,node:Crystal::Case)-instance-method">
<div class="signature">
def <strong>test</strong>(source, node : Crystal::Case)
<a class="method-permalink" href="#test%28source%2Cnode%3ACrystal%3A%3ACase%29-instance-method">#</a>
</div>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/literal_in_condition.cr#L44" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/literal_in_condition.cr#L36" target="_blank">View source</a>]
</div>
</div>

View file

@ -809,7 +809,7 @@ that contain a literal value instead of a variable or function.</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/literal_in_interpolation.cr#L18" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/literal_in_interpolation.cr#L18" target="_blank">
ameba/rule/lint/literal_in_interpolation.cr
</a>
@ -1200,7 +1200,7 @@ that contain a literal value instead of a variable or function.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/literal_in_interpolation.cr#L18" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/literal_in_interpolation.cr#L18" target="_blank">View source</a>]
</div>
</div>
@ -1381,7 +1381,7 @@ that contain a literal value instead of a variable or function.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/literal_in_interpolation.cr#L27" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/literal_in_interpolation.cr#L27" target="_blank">View source</a>]
</div>
</div>

View file

@ -809,7 +809,7 @@ types like containers, range or regex.</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/literals_comparison.cr#L20" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/literals_comparison.cr#L20" target="_blank">
ameba/rule/lint/literals_comparison.cr
</a>
@ -1217,7 +1217,7 @@ types like containers, range or regex.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/literals_comparison.cr#L20" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/literals_comparison.cr#L20" target="_blank">View source</a>]
</div>
</div>
@ -1398,7 +1398,7 @@ types like containers, range or regex.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/literals_comparison.cr#L48" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/literals_comparison.cr#L48" target="_blank">View source</a>]
</div>
</div>
@ -1423,7 +1423,7 @@ is a free var</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/literals_comparison.cr#L39" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/literals_comparison.cr#L39" target="_blank">View source</a>]
</div>
</div>

View file

@ -815,7 +815,7 @@ alice <span class="o">=</span> names.find { <span class="o">|</span>name<span cl
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/not_nil.cr#L28" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/not_nil.cr#L28" target="_blank">
ameba/rule/lint/not_nil.cr
</a>
@ -1222,7 +1222,7 @@ alice <span class="o">=</span> names.find { <span class="o">|</span>name<span cl
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/not_nil.cr#L28" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/not_nil.cr#L28" target="_blank">View source</a>]
</div>
</div>
@ -1403,7 +1403,7 @@ alice <span class="o">=</span> names.find { <span class="o">|</span>name<span cl
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/not_nil.cr#L47" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/not_nil.cr#L47" target="_blank">View source</a>]
</div>
</div>
@ -1419,7 +1419,7 @@ alice <span class="o">=</span> names.find { <span class="o">|</span>name<span cl
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/not_nil.cr#L38" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/not_nil.cr#L38" target="_blank">View source</a>]
</div>
</div>

View file

@ -809,7 +809,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/not_nil_after_no_bang.cr#L22" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/not_nil_after_no_bang.cr#L22" target="_blank">
ameba/rule/lint/not_nil_after_no_bang.cr
</a>
@ -1220,7 +1220,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/not_nil_after_no_bang.cr#L22" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/not_nil_after_no_bang.cr#L22" target="_blank">View source</a>]
</div>
</div>
@ -1401,7 +1401,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/not_nil_after_no_bang.cr#L44" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/not_nil_after_no_bang.cr#L44" target="_blank">View source</a>]
</div>
</div>
@ -1417,7 +1417,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/not_nil_after_no_bang.cr#L35" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/not_nil_after_no_bang.cr#L35" target="_blank">View source</a>]
</div>
</div>

View file

@ -811,7 +811,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/percent_array.cr#L26" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/percent_array.cr#L26" target="_blank">
ameba/rule/lint/percent_array.cr
</a>
@ -1137,7 +1137,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/percent_array.cr#L26" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/percent_array.cr#L26" target="_blank">View source</a>]
</div>
</div>
@ -1374,7 +1374,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/percent_array.cr#L36" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/percent_array.cr#L36" target="_blank">View source</a>]
</div>
</div>

View file

@ -810,7 +810,7 @@ rand(<span class="n">2</span>)</code></pre>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/rand_zero.cr#L25" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/rand_zero.cr#L25" target="_blank">
ameba/rule/lint/rand_zero.cr
</a>
@ -1115,7 +1115,7 @@ rand(<span class="n">2</span>)</code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/rand_zero.cr#L25" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/rand_zero.cr#L25" target="_blank">View source</a>]
</div>
</div>
@ -1296,7 +1296,7 @@ rand(<span class="n">2</span>)</code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/rand_zero.cr#L32" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/rand_zero.cr#L32" target="_blank">View source</a>]
</div>
</div>

View file

@ -810,7 +810,7 @@ which is redundant.</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/redundant_string_coercion.cr#L23" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/redundant_string_coercion.cr#L23" target="_blank">
ameba/rule/lint/redundant_string_coercion.cr
</a>
@ -1202,7 +1202,7 @@ which is redundant.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/redundant_string_coercion.cr#L23" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/redundant_string_coercion.cr#L23" target="_blank">View source</a>]
</div>
</div>
@ -1383,7 +1383,7 @@ which is redundant.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/redundant_string_coercion.cr#L32" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/redundant_string_coercion.cr#L32" target="_blank">View source</a>]
</div>
</div>

View file

@ -815,7 +815,7 @@ collection.each_with_index <span class="k">do</span> <span class="o">|</span>e,
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/redundant_with_index.cr#L30" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/redundant_with_index.cr#L30" target="_blank">
ameba/rule/lint/redundant_with_index.cr
</a>
@ -1106,7 +1106,7 @@ collection.each_with_index <span class="k">do</span> <span class="o">|</span>e,
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/redundant_with_index.cr#L30" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/redundant_with_index.cr#L30" target="_blank">View source</a>]
</div>
</div>
@ -1287,7 +1287,7 @@ collection.each_with_index <span class="k">do</span> <span class="o">|</span>e,
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/redundant_with_index.cr#L35" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/redundant_with_index.cr#L35" target="_blank">View source</a>]
</div>
</div>

View file

@ -815,7 +815,7 @@ collection.each_with_object(<span class="n">0</span>) <span class="k">do</span>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/redundant_with_object.cr#L30" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/redundant_with_object.cr#L30" target="_blank">
ameba/rule/lint/redundant_with_object.cr
</a>
@ -1125,7 +1125,7 @@ collection.each_with_object(<span class="n">0</span>) <span class="k">do</span>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/redundant_with_object.cr#L30" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/redundant_with_object.cr#L30" target="_blank">View source</a>]
</div>
</div>
@ -1306,7 +1306,7 @@ collection.each_with_object(<span class="n">0</span>) <span class="k">do</span>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/redundant_with_object.cr#L37" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/redundant_with_object.cr#L37" target="_blank">View source</a>]
</div>
</div>

View file

@ -823,7 +823,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/shadowed_argument.cr#L38" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/shadowed_argument.cr#L38" target="_blank">
ameba/rule/lint/shadowed_argument.cr
</a>
@ -1146,7 +1146,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/shadowed_argument.cr#L38" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/shadowed_argument.cr#L38" target="_blank">View source</a>]
</div>
</div>
@ -1327,7 +1327,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/shadowed_argument.cr#L49" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/shadowed_argument.cr#L49" target="_blank">View source</a>]
</div>
</div>
@ -1343,7 +1343,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/shadowed_argument.cr#L45" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/shadowed_argument.cr#L45" target="_blank">View source</a>]
</div>
</div>

View file

@ -821,7 +821,7 @@ exception is rescued.</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/shadowed_exception.cr#L36" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/shadowed_exception.cr#L36" target="_blank">
ameba/rule/lint/shadowed_exception.cr
</a>
@ -1137,7 +1137,7 @@ exception is rescued.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/shadowed_exception.cr#L36" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/shadowed_exception.cr#L36" target="_blank">View source</a>]
</div>
</div>
@ -1318,7 +1318,7 @@ exception is rescued.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/shadowed_exception.cr#L43" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/shadowed_exception.cr#L43" target="_blank">View source</a>]
</div>
</div>

View file

@ -818,7 +818,7 @@ for block or proc arguments.</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/shadowing_outer_local_var.cr#L33" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/shadowing_outer_local_var.cr#L33" target="_blank">
ameba/rule/lint/shadowing_outer_local_var.cr
</a>
@ -946,12 +946,7 @@ for block or proc arguments.</p>
</li>
<li class="entry-summary">
<a href="#test%28source%2Cnode%3ACrystal%3A%3AProcLiteral%2Cscope%3AAST%3A%3AScope%29-instance-method" class="signature"><strong>#test</strong>(source, node : Crystal::ProcLiteral, scope : AST::Scope)</a>
</li>
<li class="entry-summary">
<a href="#test%28source%2Cnode%3ACrystal%3A%3ABlock%2Cscope%3AAST%3A%3AScope%29-instance-method" class="signature"><strong>#test</strong>(source, node : Crystal::Block, scope : AST::Scope)</a>
<a href="#test%28source%2Cnode%3ACrystal%3A%3AProcLiteral%7CCrystal%3A%3ABlock%2Cscope%3AAST%3A%3AScope%29-instance-method" class="signature"><strong>#test</strong>(source, node : Crystal::ProcLiteral | Crystal::Block, scope : AST::Scope)</a>
</li>
@ -1141,7 +1136,7 @@ for block or proc arguments.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/shadowing_outer_local_var.cr#L33" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/shadowing_outer_local_var.cr#L33" target="_blank">View source</a>]
</div>
</div>
@ -1311,34 +1306,18 @@ for block or proc arguments.</p>
</div>
</div>
<div class="entry-detail" id="test(source,node:Crystal::ProcLiteral,scope:AST::Scope)-instance-method">
<div class="entry-detail" id="test(source,node:Crystal::ProcLiteral|Crystal::Block,scope:AST::Scope)-instance-method">
<div class="signature">
def <strong>test</strong>(source, node : Crystal::ProcLiteral, scope : <a href="../../../Ameba/AST/Scope.html">AST::Scope</a>)
def <strong>test</strong>(source, node : Crystal::ProcLiteral | Crystal::Block, scope : <a href="../../../Ameba/AST/Scope.html">AST::Scope</a>)
<a class="method-permalink" href="#test%28source%2Cnode%3ACrystal%3A%3AProcLiteral%2Cscope%3AAST%3A%3AScope%29-instance-method">#</a>
<a class="method-permalink" href="#test%28source%2Cnode%3ACrystal%3A%3AProcLiteral%7CCrystal%3A%3ABlock%2Cscope%3AAST%3A%3AScope%29-instance-method">#</a>
</div>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/shadowing_outer_local_var.cr#L48" target="_blank">View source</a>]
</div>
</div>
<div class="entry-detail" id="test(source,node:Crystal::Block,scope:AST::Scope)-instance-method">
<div class="signature">
def <strong>test</strong>(source, node : Crystal::Block, scope : <a href="../../../Ameba/AST/Scope.html">AST::Scope</a>)
<a class="method-permalink" href="#test%28source%2Cnode%3ACrystal%3A%3ABlock%2Cscope%3AAST%3A%3AScope%29-instance-method">#</a>
</div>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/shadowing_outer_local_var.cr#L52" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/shadowing_outer_local_var.cr#L48" target="_blank">View source</a>]
</div>
</div>
@ -1354,7 +1333,7 @@ for block or proc arguments.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/shadowing_outer_local_var.cr#L41" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/shadowing_outer_local_var.cr#L41" target="_blank">View source</a>]
</div>
</div>

View file

@ -833,7 +833,7 @@ the second one.</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/shared_var_in_fiber.cr#L52" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/shared_var_in_fiber.cr#L52" target="_blank">
ameba/rule/lint/shared_var_in_fiber.cr
</a>
@ -1166,7 +1166,7 @@ the second one.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/shared_var_in_fiber.cr#L52" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/shared_var_in_fiber.cr#L52" target="_blank">View source</a>]
</div>
</div>
@ -1347,7 +1347,7 @@ the second one.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/shared_var_in_fiber.cr#L63" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/shared_var_in_fiber.cr#L63" target="_blank">View source</a>]
</div>
</div>
@ -1363,7 +1363,7 @@ the second one.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/shared_var_in_fiber.cr#L59" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/shared_var_in_fiber.cr#L59" target="_blank">View source</a>]
</div>
</div>

View file

@ -831,7 +831,7 @@ it <span class="s">&quot;works&quot;</span> <span class="k">do</span>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/spec_focus.cr#L47" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/spec_focus.cr#L47" target="_blank">
ameba/rule/lint/spec_focus.cr
</a>
@ -1167,7 +1167,7 @@ it <span class="s">&quot;works&quot;</span> <span class="k">do</span>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/spec_focus.cr#L47" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/spec_focus.cr#L47" target="_blank">View source</a>]
</div>
</div>
@ -1348,7 +1348,7 @@ it <span class="s">&quot;works&quot;</span> <span class="k">do</span>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/spec_focus.cr#L61" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/spec_focus.cr#L61" target="_blank">View source</a>]
</div>
</div>
@ -1364,7 +1364,7 @@ it <span class="s">&quot;works&quot;</span> <span class="k">do</span>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/spec_focus.cr#L55" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/spec_focus.cr#L55" target="_blank">View source</a>]
</div>
</div>

View file

@ -810,7 +810,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/syntax.cr#L21" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/syntax.cr#L21" target="_blank">
ameba/rule/lint/syntax.cr
</a>
@ -1096,7 +1096,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/syntax.cr#L21" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/syntax.cr#L21" target="_blank">View source</a>]
</div>
</div>
@ -1277,7 +1277,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/syntax.cr#L27" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/syntax.cr#L27" target="_blank">View source</a>]
</div>
</div>

View file

@ -813,7 +813,7 @@ have any effect, the snippet should be written as the following:</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/unneeded_disable_directive.cr#L27" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/unneeded_disable_directive.cr#L27" target="_blank">
ameba/rule/lint/unneeded_disable_directive.cr
</a>
@ -1121,7 +1121,7 @@ have any effect, the snippet should be written as the following:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/unneeded_disable_directive.cr#L27" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/unneeded_disable_directive.cr#L27" target="_blank">View source</a>]
</div>
</div>
@ -1302,7 +1302,7 @@ have any effect, the snippet should be written as the following:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/unneeded_disable_directive.cr#L34" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/unneeded_disable_directive.cr#L34" target="_blank">View source</a>]
</div>
</div>

View file

@ -825,7 +825,7 @@ loop <span class="k">do</span>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/unreachable_code.cr#L44" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/unreachable_code.cr#L44" target="_blank">
ameba/rule/lint/unreachable_code.cr
</a>
@ -1237,7 +1237,7 @@ loop <span class="k">do</span>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/unreachable_code.cr#L44" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/unreachable_code.cr#L44" target="_blank">View source</a>]
</div>
</div>
@ -1418,7 +1418,7 @@ loop <span class="k">do</span>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/unreachable_code.cr#L57" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/unreachable_code.cr#L57" target="_blank">View source</a>]
</div>
</div>
@ -1434,7 +1434,7 @@ loop <span class="k">do</span>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/unreachable_code.cr#L53" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/unreachable_code.cr#L53" target="_blank">View source</a>]
</div>
</div>

View file

@ -814,7 +814,7 @@ For example, this is considered invalid:</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/unused_argument.cr#L27" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/unused_argument.cr#L27" target="_blank">
ameba/rule/lint/unused_argument.cr
</a>
@ -1168,7 +1168,7 @@ For example, this is considered invalid:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/unused_argument.cr#L27" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/unused_argument.cr#L27" target="_blank">View source</a>]
</div>
</div>
@ -1433,7 +1433,7 @@ For example, this is considered invalid:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/unused_argument.cr#L43" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/unused_argument.cr#L43" target="_blank">View source</a>]
</div>
</div>
@ -1449,7 +1449,7 @@ For example, this is considered invalid:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/unused_argument.cr#L47" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/unused_argument.cr#L47" target="_blank">View source</a>]
</div>
</div>
@ -1465,7 +1465,7 @@ For example, this is considered invalid:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/unused_argument.cr#L51" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/unused_argument.cr#L51" target="_blank">View source</a>]
</div>
</div>
@ -1481,7 +1481,7 @@ For example, this is considered invalid:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/unused_argument.cr#L39" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/unused_argument.cr#L39" target="_blank">View source</a>]
</div>
</div>

View file

@ -813,7 +813,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/useless_assign.cr#L28" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/useless_assign.cr#L28" target="_blank">
ameba/rule/lint/useless_assign.cr
</a>
@ -1126,7 +1126,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/useless_assign.cr#L28" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/useless_assign.cr#L28" target="_blank">View source</a>]
</div>
</div>
@ -1307,7 +1307,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/useless_assign.cr#L39" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/useless_assign.cr#L39" target="_blank">View source</a>]
</div>
</div>
@ -1323,7 +1323,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/useless_assign.cr#L35" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/useless_assign.cr#L35" target="_blank">View source</a>]
</div>
</div>

View file

@ -818,7 +818,7 @@ where it is guaranteed to always return the same result.</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/useless_condition_in_when.cr#L33" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/useless_condition_in_when.cr#L33" target="_blank">
ameba/rule/lint/useless_condition_in_when.cr
</a>
@ -1131,7 +1131,7 @@ where it is guaranteed to always return the same result.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/useless_condition_in_when.cr#L33" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/useless_condition_in_when.cr#L33" target="_blank">View source</a>]
</div>
</div>
@ -1312,7 +1312,7 @@ where it is guaranteed to always return the same result.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/lint/useless_condition_in_when.cr#L50" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/lint/useless_condition_in_when.cr#L50" target="_blank">View source</a>]
</div>
</div>

View file

@ -771,7 +771,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/metrics/cyclomatic_complexity.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/metrics/cyclomatic_complexity.cr#L1" target="_blank">
ameba/rule/metrics/cyclomatic_complexity.cr
</a>

View file

@ -806,7 +806,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/metrics/cyclomatic_complexity.cr#L11" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/metrics/cyclomatic_complexity.cr#L11" target="_blank">
ameba/rule/metrics/cyclomatic_complexity.cr
</a>
@ -1204,7 +1204,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/metrics/cyclomatic_complexity.cr#L11" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/metrics/cyclomatic_complexity.cr#L11" target="_blank">View source</a>]
</div>
</div>
@ -1413,7 +1413,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/metrics/cyclomatic_complexity.cr#L21" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/metrics/cyclomatic_complexity.cr#L21" target="_blank">View source</a>]
</div>
</div>

View file

@ -771,63 +771,63 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/performance/any_after_filter.cr#L3" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/performance/any_after_filter.cr#L3" target="_blank">
ameba/rule/performance/any_after_filter.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/performance/any_instead_of_empty.cr#L3" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/performance/any_instead_of_empty.cr#L3" target="_blank">
ameba/rule/performance/any_instead_of_empty.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/performance/base.cr#L3" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/performance/base.cr#L3" target="_blank">
ameba/rule/performance/base.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/performance/chained_call_with_no_bang.cr#L3" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/performance/chained_call_with_no_bang.cr#L3" target="_blank">
ameba/rule/performance/chained_call_with_no_bang.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/performance/compact_after_map.cr#L3" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/performance/compact_after_map.cr#L3" target="_blank">
ameba/rule/performance/compact_after_map.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/performance/first_last_after_filter.cr#L3" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/performance/first_last_after_filter.cr#L3" target="_blank">
ameba/rule/performance/first_last_after_filter.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/performance/flatten_after_map.cr#L3" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/performance/flatten_after_map.cr#L3" target="_blank">
ameba/rule/performance/flatten_after_map.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/performance/map_instead_of_block.cr#L3" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/performance/map_instead_of_block.cr#L3" target="_blank">
ameba/rule/performance/map_instead_of_block.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/performance/size_after_filter.cr#L3" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/performance/size_after_filter.cr#L3" target="_blank">
ameba/rule/performance/size_after_filter.cr
</a>

View file

@ -812,7 +812,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/performance/any_after_filter.cr#L29" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/performance/any_after_filter.cr#L29" target="_blank">
ameba/rule/performance/any_after_filter.cr
</a>
@ -1210,7 +1210,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/performance/any_after_filter.cr#L29" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/performance/any_after_filter.cr#L29" target="_blank">View source</a>]
</div>
</div>
@ -1419,7 +1419,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/performance/any_after_filter.cr#L38" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/performance/any_after_filter.cr#L38" target="_blank">View source</a>]
</div>
</div>

View file

@ -814,7 +814,7 @@ one value present.</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/performance/any_instead_of_empty.cr#L30" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/performance/any_instead_of_empty.cr#L30" target="_blank">
ameba/rule/performance/any_instead_of_empty.cr
</a>
@ -1291,7 +1291,7 @@ one value present.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/performance/any_instead_of_empty.cr#L30" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/performance/any_instead_of_empty.cr#L30" target="_blank">View source</a>]
</div>
</div>
@ -1472,7 +1472,7 @@ one value present.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/performance/any_instead_of_empty.cr#L40" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/performance/any_instead_of_empty.cr#L40" target="_blank">View source</a>]
</div>
</div>

View file

@ -828,7 +828,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/performance/base.cr#L5" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/performance/base.cr#L5" target="_blank">
ameba/rule/performance/base.cr
</a>
@ -1066,7 +1066,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/performance/base.cr#L5" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/performance/base.cr#L5" target="_blank">View source</a>]
</div>
</div>
@ -1147,7 +1147,7 @@ source.valid?</code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/performance/base.cr#L6" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/performance/base.cr#L6" target="_blank">View source</a>]
</div>
</div>

View file

@ -824,7 +824,7 @@ chars <span class="o">=</span> names
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/performance/chained_call_with_no_bang.cr#L39" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/performance/chained_call_with_no_bang.cr#L39" target="_blank">
ameba/rule/performance/chained_call_with_no_bang.cr
</a>
@ -1340,7 +1340,7 @@ chars <span class="o">=</span> names
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/performance/chained_call_with_no_bang.cr#L39" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/performance/chained_call_with_no_bang.cr#L39" target="_blank">View source</a>]
</div>
</div>
@ -1549,7 +1549,7 @@ chars <span class="o">=</span> names
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/performance/chained_call_with_no_bang.cr#L70" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/performance/chained_call_with_no_bang.cr#L70" target="_blank">View source</a>]
</div>
</div>
@ -1565,7 +1565,7 @@ chars <span class="o">=</span> names
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/performance/chained_call_with_no_bang.cr#L61" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/performance/chained_call_with_no_bang.cr#L61" target="_blank">View source</a>]
</div>
</div>

View file

@ -807,7 +807,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/performance/compact_after_map.cr#L24" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/performance/compact_after_map.cr#L24" target="_blank">
ameba/rule/performance/compact_after_map.cr
</a>
@ -1195,7 +1195,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/performance/compact_after_map.cr#L24" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/performance/compact_after_map.cr#L24" target="_blank">View source</a>]
</div>
</div>
@ -1376,7 +1376,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/performance/compact_after_map.cr#L42" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/performance/compact_after_map.cr#L42" target="_blank">View source</a>]
</div>
</div>
@ -1392,7 +1392,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/performance/compact_after_map.cr#L33" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/performance/compact_after_map.cr#L33" target="_blank">View source</a>]
</div>
</div>

View file

@ -811,7 +811,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/performance/first_last_after_filter.cr#L28" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/performance/first_last_after_filter.cr#L28" target="_blank">
ameba/rule/performance/first_last_after_filter.cr
</a>
@ -1217,7 +1217,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/performance/first_last_after_filter.cr#L28" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/performance/first_last_after_filter.cr#L28" target="_blank">View source</a>]
</div>
</div>
@ -1426,7 +1426,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/performance/first_last_after_filter.cr#L47" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/performance/first_last_after_filter.cr#L47" target="_blank">View source</a>]
</div>
</div>
@ -1442,7 +1442,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/performance/first_last_after_filter.cr#L38" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/performance/first_last_after_filter.cr#L38" target="_blank">View source</a>]
</div>
</div>

View file

@ -807,7 +807,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/performance/flatten_after_map.cr#L24" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/performance/flatten_after_map.cr#L24" target="_blank">
ameba/rule/performance/flatten_after_map.cr
</a>
@ -1195,7 +1195,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/performance/flatten_after_map.cr#L24" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/performance/flatten_after_map.cr#L24" target="_blank">View source</a>]
</div>
</div>
@ -1376,7 +1376,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/performance/flatten_after_map.cr#L42" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/performance/flatten_after_map.cr#L42" target="_blank">View source</a>]
</div>
</div>
@ -1392,7 +1392,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/performance/flatten_after_map.cr#L33" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/performance/flatten_after_map.cr#L33" target="_blank">View source</a>]
</div>
</div>

View file

@ -808,7 +808,7 @@ that follow <code>map</code>.</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/performance/map_instead_of_block.cr#L25" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/performance/map_instead_of_block.cr#L25" target="_blank">
ameba/rule/performance/map_instead_of_block.cr
</a>
@ -1198,7 +1198,7 @@ that follow <code>map</code>.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/performance/map_instead_of_block.cr#L25" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/performance/map_instead_of_block.cr#L25" target="_blank">View source</a>]
</div>
</div>
@ -1379,7 +1379,7 @@ that follow <code>map</code>.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/performance/map_instead_of_block.cr#L43" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/performance/map_instead_of_block.cr#L43" target="_blank">View source</a>]
</div>
</div>
@ -1395,7 +1395,7 @@ that follow <code>map</code>.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/performance/map_instead_of_block.cr#L34" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/performance/map_instead_of_block.cr#L34" target="_blank">View source</a>]
</div>
</div>

View file

@ -818,7 +818,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/performance/size_after_filter.cr#L35" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/performance/size_after_filter.cr#L35" target="_blank">
ameba/rule/performance/size_after_filter.cr
</a>
@ -1233,7 +1233,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/performance/size_after_filter.cr#L35" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/performance/size_after_filter.cr#L35" target="_blank">View source</a>]
</div>
</div>
@ -1442,7 +1442,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/performance/size_after_filter.cr#L53" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/performance/size_after_filter.cr#L53" target="_blank">View source</a>]
</div>
</div>
@ -1458,7 +1458,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/performance/size_after_filter.cr#L44" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/performance/size_after_filter.cr#L44" target="_blank">View source</a>]
</div>
</div>

View file

@ -771,119 +771,119 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/style/constant_names.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/style/constant_names.cr#L1" target="_blank">
ameba/rule/style/constant_names.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/style/guard_clause.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/style/guard_clause.cr#L1" target="_blank">
ameba/rule/style/guard_clause.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/style/is_a_filter.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/style/is_a_filter.cr#L1" target="_blank">
ameba/rule/style/is_a_filter.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/style/is_a_nil.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/style/is_a_nil.cr#L1" target="_blank">
ameba/rule/style/is_a_nil.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/style/large_numbers.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/style/large_numbers.cr#L1" target="_blank">
ameba/rule/style/large_numbers.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/style/method_names.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/style/method_names.cr#L1" target="_blank">
ameba/rule/style/method_names.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/style/negated_conditions_in_unless.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/style/negated_conditions_in_unless.cr#L1" target="_blank">
ameba/rule/style/negated_conditions_in_unless.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/style/parentheses_around_condition.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/style/parentheses_around_condition.cr#L1" target="_blank">
ameba/rule/style/parentheses_around_condition.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/style/predicate_name.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/style/predicate_name.cr#L1" target="_blank">
ameba/rule/style/predicate_name.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/style/redundant_begin.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/style/redundant_begin.cr#L1" target="_blank">
ameba/rule/style/redundant_begin.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/style/redundant_next.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/style/redundant_next.cr#L1" target="_blank">
ameba/rule/style/redundant_next.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/style/redundant_return.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/style/redundant_return.cr#L1" target="_blank">
ameba/rule/style/redundant_return.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/style/type_names.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/style/type_names.cr#L1" target="_blank">
ameba/rule/style/type_names.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/style/unless_else.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/style/unless_else.cr#L1" target="_blank">
ameba/rule/style/unless_else.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/style/variable_names.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/style/variable_names.cr#L1" target="_blank">
ameba/rule/style/variable_names.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/style/verbose_block.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/style/verbose_block.cr#L1" target="_blank">
ameba/rule/style/verbose_block.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/style/while_true.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/style/while_true.cr#L1" target="_blank">
ameba/rule/style/while_true.cr
</a>

View file

@ -809,7 +809,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/style/constant_names.cr#L24" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/style/constant_names.cr#L24" target="_blank">
ameba/rule/style/constant_names.cr
</a>
@ -1113,7 +1113,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/style/constant_names.cr#L24" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/style/constant_names.cr#L24" target="_blank">View source</a>]
</div>
</div>
@ -1294,7 +1294,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/style/constant_names.cr#L31" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/style/constant_names.cr#L31" target="_blank">View source</a>]
</div>
</div>

View file

@ -846,7 +846,7 @@ ok</code></pre>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/style/guard_clause.cr#L54" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/style/guard_clause.cr#L54" target="_blank">
ameba/rule/style/guard_clause.cr
</a>
@ -1289,7 +1289,7 @@ ok</code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/style/guard_clause.cr#L54" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/style/guard_clause.cr#L54" target="_blank">View source</a>]
</div>
</div>
@ -1442,7 +1442,7 @@ ok</code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/style/guard_clause.cr#L177" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/style/guard_clause.cr#L177" target="_blank">View source</a>]
</div>
</div>
@ -1486,7 +1486,7 @@ ok</code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/style/guard_clause.cr#L69" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/style/guard_clause.cr#L69" target="_blank">View source</a>]
</div>
</div>
@ -1502,7 +1502,7 @@ ok</code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/style/guard_clause.cr#L83" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/style/guard_clause.cr#L83" target="_blank">View source</a>]
</div>
</div>
@ -1518,7 +1518,7 @@ ok</code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/style/guard_clause.cr#L65" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/style/guard_clause.cr#L65" target="_blank">View source</a>]
</div>
</div>

View file

@ -826,7 +826,7 @@ matches.one?(<span class="t">Nil</span>) <span class="c"># =&gt; tr
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/style/is_a_filter.cr#L41" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/style/is_a_filter.cr#L41" target="_blank">
ameba/rule/style/is_a_filter.cr
</a>
@ -1172,7 +1172,7 @@ matches.one?(<span class="t">Nil</span>) <span class="c"># =&gt; tr
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/style/is_a_filter.cr#L41" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/style/is_a_filter.cr#L41" target="_blank">View source</a>]
</div>
</div>
@ -1381,7 +1381,7 @@ matches.one?(<span class="t">Nil</span>) <span class="c"># =&gt; tr
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/style/is_a_filter.cr#L60" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/style/is_a_filter.cr#L60" target="_blank">View source</a>]
</div>
</div>
@ -1397,7 +1397,7 @@ matches.one?(<span class="t">Nil</span>) <span class="c"># =&gt; tr
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/style/is_a_filter.cr#L51" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/style/is_a_filter.cr#L51" target="_blank">View source</a>]
</div>
</div>

View file

@ -807,7 +807,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/style/is_a_nil.cr#L22" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/style/is_a_nil.cr#L22" target="_blank">
ameba/rule/style/is_a_nil.cr
</a>
@ -1114,7 +1114,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/style/is_a_nil.cr#L22" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/style/is_a_nil.cr#L22" target="_blank">View source</a>]
</div>
</div>
@ -1295,7 +1295,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/style/is_a_nil.cr#L30" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/style/is_a_nil.cr#L30" target="_blank">View source</a>]
</div>
</div>

View file

@ -814,7 +814,7 @@ large numbers more easily.</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/style/large_numbers.cr#L29" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/style/large_numbers.cr#L29" target="_blank">
ameba/rule/style/large_numbers.cr
</a>
@ -1133,7 +1133,7 @@ large numbers more easily.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/style/large_numbers.cr#L29" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/style/large_numbers.cr#L29" target="_blank">View source</a>]
</div>
</div>
@ -1342,7 +1342,7 @@ large numbers more easily.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/style/large_numbers.cr#L38" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/style/large_numbers.cr#L38" target="_blank">View source</a>]
</div>
</div>

View file

@ -827,7 +827,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/style/method_names.cr#L40" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/style/method_names.cr#L40" target="_blank">
ameba/rule/style/method_names.cr
</a>
@ -1236,7 +1236,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/style/method_names.cr#L40" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/style/method_names.cr#L40" target="_blank">View source</a>]
</div>
</div>
@ -1417,7 +1417,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/style/method_names.cr#L49" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/style/method_names.cr#L49" target="_blank">View source</a>]
</div>
</div>

View file

@ -813,7 +813,7 @@ that is executed if a negated condition is NOT met.</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/style/negated_conditions_in_unless.cr#L29" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/style/negated_conditions_in_unless.cr#L29" target="_blank">
ameba/rule/style/negated_conditions_in_unless.cr
</a>
@ -1121,7 +1121,7 @@ that is executed if a negated condition is NOT met.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/style/negated_conditions_in_unless.cr#L29" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/style/negated_conditions_in_unless.cr#L29" target="_blank">View source</a>]
</div>
</div>
@ -1302,7 +1302,7 @@ that is executed if a negated condition is NOT met.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/style/negated_conditions_in_unless.cr#L36" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/style/negated_conditions_in_unless.cr#L36" target="_blank">View source</a>]
</div>
</div>

View file

@ -814,7 +814,7 @@ around the condition of <code>if</code>, <code>unless</code>, <code>case,</code>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/style/parentheses_around_condition.cr#L29" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/style/parentheses_around_condition.cr#L29" target="_blank">
ameba/rule/style/parentheses_around_condition.cr
</a>
@ -1148,7 +1148,7 @@ around the condition of <code>if</code>, <code>unless</code>, <code>case,</code>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/style/parentheses_around_condition.cr#L29" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/style/parentheses_around_condition.cr#L29" target="_blank">View source</a>]
</div>
</div>
@ -1385,7 +1385,7 @@ around the condition of <code>if</code>, <code>unless</code>, <code>case,</code>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/style/parentheses_around_condition.cr#L55" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/style/parentheses_around_condition.cr#L55" target="_blank">View source</a>]
</div>
</div>

View file

@ -811,7 +811,7 @@ the ones that are not valid Crystal code (e.g. <code>is_404?</code>).</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/style/predicate_name.cr#L26" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/style/predicate_name.cr#L26" target="_blank">
ameba/rule/style/predicate_name.cr
</a>
@ -1117,7 +1117,7 @@ the ones that are not valid Crystal code (e.g. <code>is_404?</code>).</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/style/predicate_name.cr#L26" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/style/predicate_name.cr#L26" target="_blank">View source</a>]
</div>
</div>
@ -1298,7 +1298,7 @@ the ones that are not valid Crystal code (e.g. <code>is_404?</code>).</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/style/predicate_name.cr#L33" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/style/predicate_name.cr#L33" target="_blank">View source</a>]
</div>
</div>

View file

@ -838,7 +838,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/style/redundant_begin.cr#L58" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/style/redundant_begin.cr#L58" target="_blank">
ameba/rule/style/redundant_begin.cr
</a>
@ -1258,7 +1258,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/style/redundant_begin.cr#L58" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/style/redundant_begin.cr#L58" target="_blank">View source</a>]
</div>
</div>
@ -1439,7 +1439,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/style/redundant_begin.cr#L67" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/style/redundant_begin.cr#L67" target="_blank">View source</a>]
</div>
</div>

View file

@ -873,7 +873,7 @@ without arguments. Sometimes such statements are used to yild the <code>nil</cod
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/style/redundant_next.cr#L99" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/style/redundant_next.cr#L99" target="_blank">
ameba/rule/style/redundant_next.cr
</a>
@ -1353,7 +1353,7 @@ without arguments. Sometimes such statements are used to yild the <code>nil</cod
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/style/redundant_next.cr#L99" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/style/redundant_next.cr#L99" target="_blank">View source</a>]
</div>
</div>
@ -1590,7 +1590,7 @@ without arguments. Sometimes such statements are used to yild the <code>nil</cod
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/style/redundant_next.cr#L115" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/style/redundant_next.cr#L115" target="_blank">View source</a>]
</div>
</div>
@ -1606,7 +1606,7 @@ without arguments. Sometimes such statements are used to yild the <code>nil</cod
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/style/redundant_next.cr#L111" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/style/redundant_next.cr#L111" target="_blank">View source</a>]
</div>
</div>

View file

@ -870,7 +870,7 @@ without arguments. Sometimes such returns are used to return the <code>nil</code
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/style/redundant_return.cr#L96" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/style/redundant_return.cr#L96" target="_blank">
ameba/rule/style/redundant_return.cr
</a>
@ -1347,7 +1347,7 @@ without arguments. Sometimes such returns are used to return the <code>nil</code
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/style/redundant_return.cr#L96" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/style/redundant_return.cr#L96" target="_blank">View source</a>]
</div>
</div>
@ -1584,7 +1584,7 @@ without arguments. Sometimes such returns are used to return the <code>nil</code
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/style/redundant_return.cr#L112" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/style/redundant_return.cr#L112" target="_blank">View source</a>]
</div>
</div>
@ -1600,7 +1600,7 @@ without arguments. Sometimes such returns are used to return the <code>nil</code
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/style/redundant_return.cr#L108" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/style/redundant_return.cr#L108" target="_blank">View source</a>]
</div>
</div>

View file

@ -839,7 +839,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/style/type_names.cr#L54" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/style/type_names.cr#L54" target="_blank">
ameba/rule/style/type_names.cr
</a>
@ -967,27 +967,7 @@
</li>
<li class="entry-summary">
<a href="#test%28source%2Cnode%3ACrystal%3A%3AClassDef%29-instance-method" class="signature"><strong>#test</strong>(source, node : Crystal::ClassDef)</a>
</li>
<li class="entry-summary">
<a href="#test%28source%2Cnode%3ACrystal%3A%3AAlias%29-instance-method" class="signature"><strong>#test</strong>(source, node : Crystal::Alias)</a>
</li>
<li class="entry-summary">
<a href="#test%28source%2Cnode%3ACrystal%3A%3ALibDef%29-instance-method" class="signature"><strong>#test</strong>(source, node : Crystal::LibDef)</a>
</li>
<li class="entry-summary">
<a href="#test%28source%2Cnode%3ACrystal%3A%3AEnumDef%29-instance-method" class="signature"><strong>#test</strong>(source, node : Crystal::EnumDef)</a>
</li>
<li class="entry-summary">
<a href="#test%28source%2Cnode%3ACrystal%3A%3AModuleDef%29-instance-method" class="signature"><strong>#test</strong>(source, node : Crystal::ModuleDef)</a>
<a href="#test%28source%2Cnode%3ACrystal%3A%3AAlias%7CCrystal%3A%3AClassDef%7CCrystal%3A%3AModuleDef%7CCrystal%3A%3ALibDef%7CCrystal%3A%3AEnumDef%29-instance-method" class="signature"><strong>#test</strong>(source, node : Crystal::Alias | Crystal::ClassDef | Crystal::ModuleDef | Crystal::LibDef | Crystal::EnumDef)</a>
</li>
@ -1193,7 +1173,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/style/type_names.cr#L54" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/style/type_names.cr#L54" target="_blank">View source</a>]
</div>
</div>
@ -1363,82 +1343,18 @@
</div>
</div>
<div class="entry-detail" id="test(source,node:Crystal::ClassDef)-instance-method">
<div class="entry-detail" id="test(source,node:Crystal::Alias|Crystal::ClassDef|Crystal::ModuleDef|Crystal::LibDef|Crystal::EnumDef)-instance-method">
<div class="signature">
def <strong>test</strong>(source, node : Crystal::ClassDef)
def <strong>test</strong>(source, node : Crystal::Alias | Crystal::ClassDef | Crystal::ModuleDef | Crystal::LibDef | Crystal::EnumDef)
<a class="method-permalink" href="#test%28source%2Cnode%3ACrystal%3A%3AClassDef%29-instance-method">#</a>
<a class="method-permalink" href="#test%28source%2Cnode%3ACrystal%3A%3AAlias%7CCrystal%3A%3AClassDef%7CCrystal%3A%3AModuleDef%7CCrystal%3A%3ALibDef%7CCrystal%3A%3AEnumDef%29-instance-method">#</a>
</div>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/style/type_names.cr#L69" target="_blank">View source</a>]
</div>
</div>
<div class="entry-detail" id="test(source,node:Crystal::Alias)-instance-method">
<div class="signature">
def <strong>test</strong>(source, node : Crystal::Alias)
<a class="method-permalink" href="#test%28source%2Cnode%3ACrystal%3A%3AAlias%29-instance-method">#</a>
</div>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/style/type_names.cr#L73" target="_blank">View source</a>]
</div>
</div>
<div class="entry-detail" id="test(source,node:Crystal::LibDef)-instance-method">
<div class="signature">
def <strong>test</strong>(source, node : Crystal::LibDef)
<a class="method-permalink" href="#test%28source%2Cnode%3ACrystal%3A%3ALibDef%29-instance-method">#</a>
</div>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/style/type_names.cr#L77" target="_blank">View source</a>]
</div>
</div>
<div class="entry-detail" id="test(source,node:Crystal::EnumDef)-instance-method">
<div class="signature">
def <strong>test</strong>(source, node : Crystal::EnumDef)
<a class="method-permalink" href="#test%28source%2Cnode%3ACrystal%3A%3AEnumDef%29-instance-method">#</a>
</div>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/style/type_names.cr#L81" target="_blank">View source</a>]
</div>
</div>
<div class="entry-detail" id="test(source,node:Crystal::ModuleDef)-instance-method">
<div class="signature">
def <strong>test</strong>(source, node : Crystal::ModuleDef)
<a class="method-permalink" href="#test%28source%2Cnode%3ACrystal%3A%3AModuleDef%29-instance-method">#</a>
</div>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/style/type_names.cr#L85" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/style/type_names.cr#L69" target="_blank">View source</a>]
</div>
</div>

View file

@ -826,7 +826,7 @@ an <code>if</code>, so the previous invalid example would become this:</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/style/unless_else.cr#L45" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/style/unless_else.cr#L45" target="_blank">
ameba/rule/style/unless_else.cr
</a>
@ -1147,7 +1147,7 @@ an <code>if</code>, so the previous invalid example would become this:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/style/unless_else.cr#L45" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/style/unless_else.cr#L45" target="_blank">View source</a>]
</div>
</div>
@ -1328,7 +1328,7 @@ an <code>if</code>, so the previous invalid example would become this:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/style/unless_else.cr#L52" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/style/unless_else.cr#L52" target="_blank">View source</a>]
</div>
</div>

View file

@ -810,7 +810,7 @@ wrong_Name <span class="o">=</span> <span class="n">2</span></code></pre>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/style/variable_names.cr#L25" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/style/variable_names.cr#L25" target="_blank">
ameba/rule/style/variable_names.cr
</a>
@ -938,17 +938,7 @@ wrong_Name <span class="o">=</span> <span class="n">2</span></code></pre>
</li>
<li class="entry-summary">
<a href="#test%28source%2Cnode%3ACrystal%3A%3AVar%29-instance-method" class="signature"><strong>#test</strong>(source, node : Crystal::Var)</a>
</li>
<li class="entry-summary">
<a href="#test%28source%2Cnode%3ACrystal%3A%3AInstanceVar%29-instance-method" class="signature"><strong>#test</strong>(source, node : Crystal::InstanceVar)</a>
</li>
<li class="entry-summary">
<a href="#test%28source%2Cnode%3ACrystal%3A%3AClassVar%29-instance-method" class="signature"><strong>#test</strong>(source, node : Crystal::ClassVar)</a>
<a href="#test%28source%2Cnode%3ACrystal%3A%3AVar%7CCrystal%3A%3AInstanceVar%7CCrystal%3A%3AClassVar%29-instance-method" class="signature"><strong>#test</strong>(source, node : Crystal::Var | Crystal::InstanceVar | Crystal::ClassVar)</a>
</li>
@ -1132,7 +1122,7 @@ wrong_Name <span class="o">=</span> <span class="n">2</span></code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/style/variable_names.cr#L25" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/style/variable_names.cr#L25" target="_blank">View source</a>]
</div>
</div>
@ -1302,50 +1292,18 @@ wrong_Name <span class="o">=</span> <span class="n">2</span></code></pre>
</div>
</div>
<div class="entry-detail" id="test(source,node:Crystal::Var)-instance-method">
<div class="entry-detail" id="test(source,node:Crystal::Var|Crystal::InstanceVar|Crystal::ClassVar)-instance-method">
<div class="signature">
def <strong>test</strong>(source, node : Crystal::Var)
def <strong>test</strong>(source, node : Crystal::Var | Crystal::InstanceVar | Crystal::ClassVar)
<a class="method-permalink" href="#test%28source%2Cnode%3ACrystal%3A%3AVar%29-instance-method">#</a>
<a class="method-permalink" href="#test%28source%2Cnode%3ACrystal%3A%3AVar%7CCrystal%3A%3AInstanceVar%7CCrystal%3A%3AClassVar%29-instance-method">#</a>
</div>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/style/variable_names.cr#L42" target="_blank">View source</a>]
</div>
</div>
<div class="entry-detail" id="test(source,node:Crystal::InstanceVar)-instance-method">
<div class="signature">
def <strong>test</strong>(source, node : Crystal::InstanceVar)
<a class="method-permalink" href="#test%28source%2Cnode%3ACrystal%3A%3AInstanceVar%29-instance-method">#</a>
</div>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/style/variable_names.cr#L46" target="_blank">View source</a>]
</div>
</div>
<div class="entry-detail" id="test(source,node:Crystal::ClassVar)-instance-method">
<div class="signature">
def <strong>test</strong>(source, node : Crystal::ClassVar)
<a class="method-permalink" href="#test%28source%2Cnode%3ACrystal%3A%3AClassVar%29-instance-method">#</a>
</div>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/style/variable_names.cr#L50" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/style/variable_names.cr#L42" target="_blank">View source</a>]
</div>
</div>
@ -1373,7 +1331,7 @@ that are tested by this rule, it should add an issue.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/style/variable_names.cr#L38" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/style/variable_names.cr#L38" target="_blank">View source</a>]
</div>
</div>

View file

@ -817,7 +817,7 @@ argument as a receiver, that can be collapsed into a short form.</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/style/verbose_block.cr#L30" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/style/verbose_block.cr#L30" target="_blank">
ameba/rule/style/verbose_block.cr
</a>
@ -1291,7 +1291,7 @@ argument as a receiver, that can be collapsed into a short form.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/style/verbose_block.cr#L30" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/style/verbose_block.cr#L30" target="_blank">View source</a>]
</div>
</div>
@ -1668,7 +1668,7 @@ argument as a receiver, that can be collapsed into a short form.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/style/verbose_block.cr#L215" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/style/verbose_block.cr#L215" target="_blank">View source</a>]
</div>
</div>

View file

@ -813,7 +813,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/style/while_true.cr#L28" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/style/while_true.cr#L28" target="_blank">
ameba/rule/style/while_true.cr
</a>
@ -1121,7 +1121,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/style/while_true.cr#L28" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/style/while_true.cr#L28" target="_blank">View source</a>]
</div>
</div>
@ -1302,7 +1302,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/20935ae3/src/ameba/rule/style/while_true.cr#L35" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/be65ba2a/src/ameba/rule/style/while_true.cr#L35" target="_blank">View source</a>]
</div>
</div>