mirror of
https://gitea.invidious.io/iv-org/shard-ameba.git
synced 2024-08-15 00:53:29 +00:00
Deploying to gh-pages from @ 6d41beba57
🚀
This commit is contained in:
parent
edc349b964
commit
ca1c5ea3c6
91 changed files with 539 additions and 539 deletions
|
@ -730,7 +730,7 @@ that are tested by this rule, it should add an issue.</p>
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/base.cr#L30" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/base.cr#L30" target="_blank">
|
||||
ameba/rule/base.cr
|
||||
</a>
|
||||
|
||||
|
@ -940,7 +940,7 @@ that are tested by this rule, it should add an issue.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/base.cr#L30" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/base.cr#L30" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -984,7 +984,7 @@ that are tested by this rule, it should add an issue.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/base.cr#L157" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/base.cr#L157" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1038,7 +1038,7 @@ p1 <span class="o">==</span> p3 <span class="c"># => false</span></code></pre
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/base.cr#L113" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/base.cr#L113" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1063,7 +1063,7 @@ source.valid?</code></pre>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/base.cr#L54" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/base.cr#L54" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1088,7 +1088,7 @@ the one of the given source.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/base.cr#L95" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/base.cr#L95" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1115,7 +1115,7 @@ the one of the given source.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/base.cr#L83" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/base.cr#L83" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1148,7 +1148,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/bedf3a68/src/ameba/rule/base.cr#L117" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/base.cr#L117" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1176,7 +1176,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/bedf3a68/src/ameba/rule/base.cr#L69" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/base.cr#L69" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1200,7 +1200,7 @@ usual rules.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/base.cr#L109" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/base.cr#L109" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1216,7 +1216,7 @@ usual rules.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/base.cr#L42" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/base.cr#L42" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1241,7 +1241,7 @@ Must be overriten for other type of rules.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/base.cr#L38" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/base.cr#L38" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1269,7 +1269,7 @@ Must be overriten for other type of rules.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/base.cr#L121" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/base.cr#L121" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -586,21 +586,21 @@
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/layout/line_length.cr#L1" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/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/bedf3a68/src/ameba/rule/layout/trailing_blank_lines.cr#L1" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/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/bedf3a68/src/ameba/rule/layout/trailing_whitespace.cr#L1" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/layout/trailing_whitespace.cr#L1" target="_blank">
|
||||
ameba/rule/layout/trailing_whitespace.cr
|
||||
</a>
|
||||
|
||||
|
|
|
@ -621,7 +621,7 @@
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/layout/line_length.cr#L12" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/layout/line_length.cr#L12" target="_blank">
|
||||
ameba/rule/layout/line_length.cr
|
||||
</a>
|
||||
|
||||
|
@ -932,7 +932,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/layout/line_length.cr#L12" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/layout/line_length.cr#L12" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1102,7 +1102,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/layout/line_length.cr#L21" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/layout/line_length.cr#L21" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -620,7 +620,7 @@
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/layout/trailing_blank_lines.cr#L11" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/layout/trailing_blank_lines.cr#L11" target="_blank">
|
||||
ameba/rule/layout/trailing_blank_lines.cr
|
||||
</a>
|
||||
|
||||
|
@ -925,7 +925,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/layout/trailing_blank_lines.cr#L11" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/layout/trailing_blank_lines.cr#L11" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1067,7 +1067,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/layout/trailing_blank_lines.cr#L19" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/layout/trailing_blank_lines.cr#L19" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -620,7 +620,7 @@
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/layout/trailing_whitespace.cr#L11" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/layout/trailing_whitespace.cr#L11" target="_blank">
|
||||
ameba/rule/layout/trailing_whitespace.cr
|
||||
</a>
|
||||
|
||||
|
@ -920,7 +920,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/layout/trailing_whitespace.cr#L11" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/layout/trailing_whitespace.cr#L11" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1062,7 +1062,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/layout/trailing_whitespace.cr#L18" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/layout/trailing_whitespace.cr#L18" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -586,168 +586,168 @@
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/lint/bad_directive.cr#L1" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/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/bedf3a68/src/ameba/rule/lint/comparison_to_boolean.cr#L1" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/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/bedf3a68/src/ameba/rule/lint/debugger_statement.cr#L1" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/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/bedf3a68/src/ameba/rule/lint/empty_ensure.cr#L1" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/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/bedf3a68/src/ameba/rule/lint/empty_expression.cr#L1" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/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/bedf3a68/src/ameba/rule/lint/empty_loop.cr#L1" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/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/bedf3a68/src/ameba/rule/lint/hash_duplicated_key.cr#L1" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/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/bedf3a68/src/ameba/rule/lint/literal_in_condition.cr#L1" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/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/bedf3a68/src/ameba/rule/lint/literal_in_interpolation.cr#L1" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/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/bedf3a68/src/ameba/rule/lint/percent_array.cr#L1" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/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/bedf3a68/src/ameba/rule/lint/rand_zero.cr#L1" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/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/bedf3a68/src/ameba/rule/lint/redundant_string_coercion.cr#L1" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/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/bedf3a68/src/ameba/rule/lint/redundant_with_index.cr#L1" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/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/bedf3a68/src/ameba/rule/lint/redundant_with_object.cr#L1" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/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/bedf3a68/src/ameba/rule/lint/shadowed_argument.cr#L1" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/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/bedf3a68/src/ameba/rule/lint/shadowed_exception.cr#L1" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/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/bedf3a68/src/ameba/rule/lint/shadowing_local_outer_var.cr#L1" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/lint/shadowing_local_outer_var.cr#L1" target="_blank">
|
||||
ameba/rule/lint/shadowing_local_outer_var.cr
|
||||
</a>
|
||||
|
||||
<br/>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/lint/shared_var_in_fiber.cr#L1" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/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/bedf3a68/src/ameba/rule/lint/syntax.cr#L1" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/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/bedf3a68/src/ameba/rule/lint/unneeded_disable_directive.cr#L1" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/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/bedf3a68/src/ameba/rule/lint/unreachable_code.cr#L1" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/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/bedf3a68/src/ameba/rule/lint/unused_argument.cr#L1" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/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/bedf3a68/src/ameba/rule/lint/useless_assign.cr#L1" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/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/bedf3a68/src/ameba/rule/lint/useless_condition_in_when.cr#L1" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/lint/useless_condition_in_when.cr#L1" target="_blank">
|
||||
ameba/rule/lint/useless_condition_in_when.cr
|
||||
</a>
|
||||
|
||||
|
|
|
@ -628,7 +628,7 @@ to disable a rule that even doesn't exist:</p>
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/lint/bad_directive.cr#L21" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/lint/bad_directive.cr#L21" target="_blank">
|
||||
ameba/rule/lint/bad_directive.cr
|
||||
</a>
|
||||
|
||||
|
@ -946,7 +946,7 @@ to disable a rule that even doesn't exist:</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/lint/bad_directive.cr#L21" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/lint/bad_directive.cr#L21" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1088,7 +1088,7 @@ to disable a rule that even doesn't exist:</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/lint/bad_directive.cr#L30" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/lint/bad_directive.cr#L30" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -630,7 +630,7 @@ or negating the variable.</p>
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/lint/comparison_to_boolean.cr#L23" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/lint/comparison_to_boolean.cr#L23" target="_blank">
|
||||
ameba/rule/lint/comparison_to_boolean.cr
|
||||
</a>
|
||||
|
||||
|
@ -940,7 +940,7 @@ or negating the variable.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/lint/comparison_to_boolean.cr#L23" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/lint/comparison_to_boolean.cr#L23" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1082,7 +1082,7 @@ or negating the variable.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/lint/comparison_to_boolean.cr#L31" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/lint/comparison_to_boolean.cr#L31" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -623,7 +623,7 @@ committed into our codebase.</p>
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/lint/debugger_statement.cr#L14" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/lint/debugger_statement.cr#L14" target="_blank">
|
||||
ameba/rule/lint/debugger_statement.cr
|
||||
</a>
|
||||
|
||||
|
@ -926,7 +926,7 @@ committed into our codebase.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/lint/debugger_statement.cr#L14" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/lint/debugger_statement.cr#L14" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1068,7 +1068,7 @@ committed into our codebase.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/lint/debugger_statement.cr#L21" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/lint/debugger_statement.cr#L21" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -646,7 +646,7 @@
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/lint/empty_ensure.cr#L42" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/lint/empty_ensure.cr#L42" target="_blank">
|
||||
ameba/rule/lint/empty_ensure.cr
|
||||
</a>
|
||||
|
||||
|
@ -972,7 +972,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/lint/empty_ensure.cr#L42" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/lint/empty_ensure.cr#L42" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1114,7 +1114,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/lint/empty_ensure.cr#L49" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/lint/empty_ensure.cr#L49" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -638,7 +638,7 @@
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/lint/empty_expression.cr#L31" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/lint/empty_expression.cr#L31" target="_blank">
|
||||
ameba/rule/lint/empty_expression.cr
|
||||
</a>
|
||||
|
||||
|
@ -1018,7 +1018,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/lint/empty_expression.cr#L31" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/lint/empty_expression.cr#L31" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1160,7 +1160,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/lint/empty_expression.cr#L42" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/lint/empty_expression.cr#L42" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1176,7 +1176,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/lint/empty_expression.cr#L50" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/lint/empty_expression.cr#L50" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -648,7 +648,7 @@ loop <span class="k">do</span>
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/lint/empty_loop.cr#L40" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/lint/empty_loop.cr#L40" target="_blank">
|
||||
ameba/rule/lint/empty_loop.cr
|
||||
</a>
|
||||
|
||||
|
@ -1038,7 +1038,7 @@ loop <span class="k">do</span>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/lint/empty_loop.cr#L40" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/lint/empty_loop.cr#L40" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1180,7 +1180,7 @@ loop <span class="k">do</span>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/lint/empty_loop.cr#L49" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/lint/empty_loop.cr#L49" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1196,7 +1196,7 @@ loop <span class="k">do</span>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/lint/empty_loop.cr#L55" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/lint/empty_loop.cr#L55" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1212,7 +1212,7 @@ loop <span class="k">do</span>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/lint/empty_loop.cr#L59" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/lint/empty_loop.cr#L59" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -628,7 +628,7 @@
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/lint/hash_duplicated_key.cr#L23" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/lint/hash_duplicated_key.cr#L23" target="_blank">
|
||||
ameba/rule/lint/hash_duplicated_key.cr
|
||||
</a>
|
||||
|
||||
|
@ -936,7 +936,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/lint/hash_duplicated_key.cr#L23" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/lint/hash_duplicated_key.cr#L23" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1078,7 +1078,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/lint/hash_duplicated_key.cr#L30" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/lint/hash_duplicated_key.cr#L30" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -633,7 +633,7 @@ replaced with either the body of the construct, or deleted entirely.</p>
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/lint/literal_in_condition.cr#L23" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/lint/literal_in_condition.cr#L23" target="_blank">
|
||||
ameba/rule/lint/literal_in_condition.cr
|
||||
</a>
|
||||
|
||||
|
@ -1013,7 +1013,7 @@ replaced with either the body of the construct, or deleted entirely.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/lint/literal_in_condition.cr#L23" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/lint/literal_in_condition.cr#L23" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1043,7 +1043,7 @@ replaced with either the body of the construct, or deleted entirely.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/lint/literal_in_condition.cr#L33" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/lint/literal_in_condition.cr#L33" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1171,7 +1171,7 @@ replaced with either the body of the construct, or deleted entirely.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/lint/literal_in_condition.cr#L38" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/lint/literal_in_condition.cr#L38" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1187,7 +1187,7 @@ replaced with either the body of the construct, or deleted entirely.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/lint/literal_in_condition.cr#L42" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/lint/literal_in_condition.cr#L42" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1203,7 +1203,7 @@ replaced with either the body of the construct, or deleted entirely.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/lint/literal_in_condition.cr#L46" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/lint/literal_in_condition.cr#L46" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -628,7 +628,7 @@ that contain a literal value instead of a variable or function.</p>
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/lint/literal_in_interpolation.cr#L19" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/lint/literal_in_interpolation.cr#L19" target="_blank">
|
||||
ameba/rule/lint/literal_in_interpolation.cr
|
||||
</a>
|
||||
|
||||
|
@ -988,7 +988,7 @@ that contain a literal value instead of a variable or function.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/lint/literal_in_interpolation.cr#L19" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/lint/literal_in_interpolation.cr#L19" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1130,7 +1130,7 @@ that contain a literal value instead of a variable or function.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/lint/literal_in_interpolation.cr#L28" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/lint/literal_in_interpolation.cr#L28" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -632,7 +632,7 @@
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/lint/percent_array.cr#L27" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/lint/percent_array.cr#L27" target="_blank">
|
||||
ameba/rule/lint/percent_array.cr
|
||||
</a>
|
||||
|
||||
|
@ -964,7 +964,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/lint/percent_array.cr#L27" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/lint/percent_array.cr#L27" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1162,7 +1162,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/lint/percent_array.cr#L36" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/lint/percent_array.cr#L36" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -631,7 +631,7 @@ rand(<span class="n">2</span>)</code></pre>
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/lint/rand_zero.cr#L26" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/lint/rand_zero.cr#L26" target="_blank">
|
||||
ameba/rule/lint/rand_zero.cr
|
||||
</a>
|
||||
|
||||
|
@ -942,7 +942,7 @@ rand(<span class="n">2</span>)</code></pre>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/lint/rand_zero.cr#L26" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/lint/rand_zero.cr#L26" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1084,7 +1084,7 @@ rand(<span class="n">2</span>)</code></pre>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/lint/rand_zero.cr#L33" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/lint/rand_zero.cr#L33" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -631,7 +631,7 @@ which is redundant.</p>
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/lint/redundant_string_coercion.cr#L24" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/lint/redundant_string_coercion.cr#L24" target="_blank">
|
||||
ameba/rule/lint/redundant_string_coercion.cr
|
||||
</a>
|
||||
|
||||
|
@ -994,7 +994,7 @@ which is redundant.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/lint/redundant_string_coercion.cr#L24" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/lint/redundant_string_coercion.cr#L24" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1136,7 +1136,7 @@ which is redundant.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/lint/redundant_string_coercion.cr#L33" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/lint/redundant_string_coercion.cr#L33" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -636,7 +636,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/bedf3a68/src/ameba/rule/lint/redundant_with_index.cr#L30" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/lint/redundant_with_index.cr#L30" target="_blank">
|
||||
ameba/rule/lint/redundant_with_index.cr
|
||||
</a>
|
||||
|
||||
|
@ -933,7 +933,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/bedf3a68/src/ameba/rule/lint/redundant_with_index.cr#L30" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/lint/redundant_with_index.cr#L30" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1075,7 +1075,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/bedf3a68/src/ameba/rule/lint/redundant_with_index.cr#L35" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/lint/redundant_with_index.cr#L35" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -636,7 +636,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/bedf3a68/src/ameba/rule/lint/redundant_with_object.cr#L31" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/lint/redundant_with_object.cr#L31" target="_blank">
|
||||
ameba/rule/lint/redundant_with_object.cr
|
||||
</a>
|
||||
|
||||
|
@ -933,7 +933,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/bedf3a68/src/ameba/rule/lint/redundant_with_object.cr#L31" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/lint/redundant_with_object.cr#L31" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1075,7 +1075,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/bedf3a68/src/ameba/rule/lint/redundant_with_object.cr#L36" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/lint/redundant_with_object.cr#L36" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -644,7 +644,7 @@
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/lint/shadowed_argument.cr#L39" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/lint/shadowed_argument.cr#L39" target="_blank">
|
||||
ameba/rule/lint/shadowed_argument.cr
|
||||
</a>
|
||||
|
||||
|
@ -973,7 +973,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/lint/shadowed_argument.cr#L39" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/lint/shadowed_argument.cr#L39" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1115,7 +1115,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/lint/shadowed_argument.cr#L50" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/lint/shadowed_argument.cr#L50" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1131,7 +1131,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/lint/shadowed_argument.cr#L46" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/lint/shadowed_argument.cr#L46" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -642,7 +642,7 @@ exception is rescued.</p>
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/lint/shadowed_exception.cr#L37" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/lint/shadowed_exception.cr#L37" target="_blank">
|
||||
ameba/rule/lint/shadowed_exception.cr
|
||||
</a>
|
||||
|
||||
|
@ -964,7 +964,7 @@ exception is rescued.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/lint/shadowed_exception.cr#L37" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/lint/shadowed_exception.cr#L37" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1106,7 +1106,7 @@ exception is rescued.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/lint/shadowed_exception.cr#L44" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/lint/shadowed_exception.cr#L44" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -639,7 +639,7 @@ for block or proc arguments.</p>
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/lint/shadowing_local_outer_var.cr#L34" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/lint/shadowing_local_outer_var.cr#L34" target="_blank">
|
||||
ameba/rule/lint/shadowing_local_outer_var.cr
|
||||
</a>
|
||||
|
||||
|
@ -968,7 +968,7 @@ for block or proc arguments.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/lint/shadowing_local_outer_var.cr#L34" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/lint/shadowing_local_outer_var.cr#L34" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1110,7 +1110,7 @@ for block or proc arguments.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/lint/shadowing_local_outer_var.cr#L46" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/lint/shadowing_local_outer_var.cr#L46" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1126,7 +1126,7 @@ for block or proc arguments.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/lint/shadowing_local_outer_var.cr#L50" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/lint/shadowing_local_outer_var.cr#L50" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1142,7 +1142,7 @@ for block or proc arguments.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/lint/shadowing_local_outer_var.cr#L42" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/lint/shadowing_local_outer_var.cr#L42" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -658,7 +658,7 @@ the second one.</p>
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/lint/shared_var_in_fiber.cr#L53" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/lint/shared_var_in_fiber.cr#L53" target="_blank">
|
||||
ameba/rule/lint/shared_var_in_fiber.cr
|
||||
</a>
|
||||
|
||||
|
@ -1001,7 +1001,7 @@ the second one.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/lint/shared_var_in_fiber.cr#L53" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/lint/shared_var_in_fiber.cr#L53" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1143,7 +1143,7 @@ the second one.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/lint/shared_var_in_fiber.cr#L64" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/lint/shared_var_in_fiber.cr#L64" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1159,7 +1159,7 @@ the second one.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/lint/shared_var_in_fiber.cr#L60" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/lint/shared_var_in_fiber.cr#L60" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -629,7 +629,7 @@
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/lint/syntax.cr#L22" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/lint/syntax.cr#L22" target="_blank">
|
||||
ameba/rule/lint/syntax.cr
|
||||
</a>
|
||||
|
||||
|
@ -919,7 +919,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/lint/syntax.cr#L22" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/lint/syntax.cr#L22" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1061,7 +1061,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/lint/syntax.cr#L28" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/lint/syntax.cr#L28" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -633,7 +633,7 @@ have any effect, the snippet should be written as the following:</p>
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/lint/unneeded_disable_directive.cr#L28" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/lint/unneeded_disable_directive.cr#L28" target="_blank">
|
||||
ameba/rule/lint/unneeded_disable_directive.cr
|
||||
</a>
|
||||
|
||||
|
@ -946,7 +946,7 @@ have any effect, the snippet should be written as the following:</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/lint/unneeded_disable_directive.cr#L28" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/lint/unneeded_disable_directive.cr#L28" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1088,7 +1088,7 @@ have any effect, the snippet should be written as the following:</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/lint/unneeded_disable_directive.cr#L35" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/lint/unneeded_disable_directive.cr#L35" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -648,7 +648,7 @@ loop <span class="k">do</span>
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/lint/unreachable_code.cr#L45" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/lint/unreachable_code.cr#L45" target="_blank">
|
||||
ameba/rule/lint/unreachable_code.cr
|
||||
</a>
|
||||
|
||||
|
@ -1033,7 +1033,7 @@ loop <span class="k">do</span>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/lint/unreachable_code.cr#L45" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/lint/unreachable_code.cr#L45" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1175,7 +1175,7 @@ loop <span class="k">do</span>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/lint/unreachable_code.cr#L58" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/lint/unreachable_code.cr#L58" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1191,7 +1191,7 @@ loop <span class="k">do</span>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/lint/unreachable_code.cr#L54" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/lint/unreachable_code.cr#L54" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -634,7 +634,7 @@ For example, this is considered invalid:</p>
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/lint/unused_argument.cr#L28" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/lint/unused_argument.cr#L28" target="_blank">
|
||||
ameba/rule/lint/unused_argument.cr
|
||||
</a>
|
||||
|
||||
|
@ -993,7 +993,7 @@ For example, this is considered invalid:</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/lint/unused_argument.cr#L28" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/lint/unused_argument.cr#L28" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1219,7 +1219,7 @@ For example, this is considered invalid:</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/lint/unused_argument.cr#L44" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/lint/unused_argument.cr#L44" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1235,7 +1235,7 @@ For example, this is considered invalid:</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/lint/unused_argument.cr#L48" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/lint/unused_argument.cr#L48" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1251,7 +1251,7 @@ For example, this is considered invalid:</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/lint/unused_argument.cr#L52" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/lint/unused_argument.cr#L52" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1267,7 +1267,7 @@ For example, this is considered invalid:</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/lint/unused_argument.cr#L40" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/lint/unused_argument.cr#L40" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -634,7 +634,7 @@
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/lint/useless_assign.cr#L29" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/lint/useless_assign.cr#L29" target="_blank">
|
||||
ameba/rule/lint/useless_assign.cr
|
||||
</a>
|
||||
|
||||
|
@ -953,7 +953,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/lint/useless_assign.cr#L29" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/lint/useless_assign.cr#L29" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1095,7 +1095,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/lint/useless_assign.cr#L40" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/lint/useless_assign.cr#L40" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1111,7 +1111,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/lint/useless_assign.cr#L36" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/lint/useless_assign.cr#L36" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -639,7 +639,7 @@ where it is guaranteed to always return the same result.</p>
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/lint/useless_condition_in_when.cr#L34" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/lint/useless_condition_in_when.cr#L34" target="_blank">
|
||||
ameba/rule/lint/useless_condition_in_when.cr
|
||||
</a>
|
||||
|
||||
|
@ -958,7 +958,7 @@ where it is guaranteed to always return the same result.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/lint/useless_condition_in_when.cr#L34" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/lint/useless_condition_in_when.cr#L34" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1100,7 +1100,7 @@ where it is guaranteed to always return the same result.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/lint/useless_condition_in_when.cr#L54" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/lint/useless_condition_in_when.cr#L54" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -586,7 +586,7 @@
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/metrics/cyclomatic_complexity.cr#L1" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/metrics/cyclomatic_complexity.cr#L1" target="_blank">
|
||||
ameba/rule/metrics/cyclomatic_complexity.cr
|
||||
</a>
|
||||
|
||||
|
|
|
@ -621,7 +621,7 @@
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/metrics/cyclomatic_complexity.cr#L12" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/metrics/cyclomatic_complexity.cr#L12" target="_blank">
|
||||
ameba/rule/metrics/cyclomatic_complexity.cr
|
||||
</a>
|
||||
|
||||
|
@ -932,7 +932,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/metrics/cyclomatic_complexity.cr#L12" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/metrics/cyclomatic_complexity.cr#L12" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1102,7 +1102,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/metrics/cyclomatic_complexity.cr#L20" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/metrics/cyclomatic_complexity.cr#L20" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -586,21 +586,21 @@
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/performance/any_after_filter.cr#L1" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/performance/any_after_filter.cr#L1" target="_blank">
|
||||
ameba/rule/performance/any_after_filter.cr
|
||||
</a>
|
||||
|
||||
<br/>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/performance/first_last_after_filter.cr#L1" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/performance/first_last_after_filter.cr#L1" target="_blank">
|
||||
ameba/rule/performance/first_last_after_filter.cr
|
||||
</a>
|
||||
|
||||
<br/>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/performance/size_after_filter.cr#L1" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/performance/size_after_filter.cr#L1" target="_blank">
|
||||
ameba/rule/performance/size_after_filter.cr
|
||||
</a>
|
||||
|
||||
|
|
|
@ -633,7 +633,7 @@
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/performance/any_after_filter.cr#L28" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/performance/any_after_filter.cr#L28" target="_blank">
|
||||
ameba/rule/performance/any_after_filter.cr
|
||||
</a>
|
||||
|
||||
|
@ -961,7 +961,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/performance/any_after_filter.cr#L28" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/performance/any_after_filter.cr#L28" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1131,7 +1131,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/performance/any_after_filter.cr#L37" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/performance/any_after_filter.cr#L37" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -632,7 +632,7 @@
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/performance/first_last_after_filter.cr#L27" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/performance/first_last_after_filter.cr#L27" target="_blank">
|
||||
ameba/rule/performance/first_last_after_filter.cr
|
||||
</a>
|
||||
|
||||
|
@ -969,7 +969,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/performance/first_last_after_filter.cr#L27" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/performance/first_last_after_filter.cr#L27" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1139,7 +1139,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/performance/first_last_after_filter.cr#L46" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/performance/first_last_after_filter.cr#L46" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1155,7 +1155,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/performance/first_last_after_filter.cr#L37" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/performance/first_last_after_filter.cr#L37" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -639,7 +639,7 @@
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/performance/size_after_filter.cr#L34" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/performance/size_after_filter.cr#L34" target="_blank">
|
||||
ameba/rule/performance/size_after_filter.cr
|
||||
</a>
|
||||
|
||||
|
@ -978,7 +978,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/performance/size_after_filter.cr#L34" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/performance/size_after_filter.cr#L34" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1148,7 +1148,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/performance/size_after_filter.cr#L52" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/performance/size_after_filter.cr#L52" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1164,7 +1164,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/performance/size_after_filter.cr#L43" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/performance/size_after_filter.cr#L43" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -586,91 +586,91 @@
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/style/constant_names.cr#L1" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/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/bedf3a68/src/ameba/rule/style/is_a_nil.cr#L1" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/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/bedf3a68/src/ameba/rule/style/large_numbers.cr#L1" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/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/bedf3a68/src/ameba/rule/style/method_names.cr#L1" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/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/bedf3a68/src/ameba/rule/style/negated_conditions_in_unless.cr#L1" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/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/bedf3a68/src/ameba/rule/style/predicate_name.cr#L1" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/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/bedf3a68/src/ameba/rule/style/redundant_begin.cr#L1" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/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/bedf3a68/src/ameba/rule/style/redundant_next.cr#L1" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/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/bedf3a68/src/ameba/rule/style/redundant_return.cr#L1" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/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/bedf3a68/src/ameba/rule/style/type_names.cr#L1" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/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/bedf3a68/src/ameba/rule/style/unless_else.cr#L1" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/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/bedf3a68/src/ameba/rule/style/variable_names.cr#L1" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/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/bedf3a68/src/ameba/rule/style/while_true.cr#L1" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/style/while_true.cr#L1" target="_blank">
|
||||
ameba/rule/style/while_true.cr
|
||||
</a>
|
||||
|
||||
|
|
|
@ -630,7 +630,7 @@
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/style/constant_names.cr#L25" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/style/constant_names.cr#L25" target="_blank">
|
||||
ameba/rule/style/constant_names.cr
|
||||
</a>
|
||||
|
||||
|
@ -940,7 +940,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/style/constant_names.cr#L25" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/style/constant_names.cr#L25" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1082,7 +1082,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/style/constant_names.cr#L32" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/style/constant_names.cr#L32" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -628,7 +628,7 @@
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/style/is_a_nil.cr#L23" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/style/is_a_nil.cr#L23" target="_blank">
|
||||
ameba/rule/style/is_a_nil.cr
|
||||
</a>
|
||||
|
||||
|
@ -941,7 +941,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/style/is_a_nil.cr#L23" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/style/is_a_nil.cr#L23" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1083,7 +1083,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/style/is_a_nil.cr#L31" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/style/is_a_nil.cr#L31" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -635,7 +635,7 @@ large numbers more easily.</p>
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/style/large_numbers.cr#L30" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/style/large_numbers.cr#L30" target="_blank">
|
||||
ameba/rule/style/large_numbers.cr
|
||||
</a>
|
||||
|
||||
|
@ -960,7 +960,7 @@ large numbers more easily.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/style/large_numbers.cr#L30" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/style/large_numbers.cr#L30" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1130,7 +1130,7 @@ large numbers more easily.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/style/large_numbers.cr#L39" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/style/large_numbers.cr#L39" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -646,7 +646,7 @@
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/style/method_names.cr#L41" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/style/method_names.cr#L41" target="_blank">
|
||||
ameba/rule/style/method_names.cr
|
||||
</a>
|
||||
|
||||
|
@ -972,7 +972,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/style/method_names.cr#L41" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/style/method_names.cr#L41" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1114,7 +1114,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/style/method_names.cr#L48" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/style/method_names.cr#L48" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -635,7 +635,7 @@ that is executed if a negated condition is NOT met.</p>
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/style/negated_conditions_in_unless.cr#L30" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/style/negated_conditions_in_unless.cr#L30" target="_blank">
|
||||
ameba/rule/style/negated_conditions_in_unless.cr
|
||||
</a>
|
||||
|
||||
|
@ -950,7 +950,7 @@ that is executed if a negated condition is NOT met.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/style/negated_conditions_in_unless.cr#L30" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/style/negated_conditions_in_unless.cr#L30" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1092,7 +1092,7 @@ that is executed if a negated condition is NOT met.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/style/negated_conditions_in_unless.cr#L37" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/style/negated_conditions_in_unless.cr#L37" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -637,7 +637,7 @@ start with the prefix <code>has_</code> or the prefix <code>is_</code>. Ignores
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/style/predicate_name.cr#L32" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/style/predicate_name.cr#L32" target="_blank">
|
||||
ameba/rule/style/predicate_name.cr
|
||||
</a>
|
||||
|
||||
|
@ -954,7 +954,7 @@ start with the prefix <code>has_</code> or the prefix <code>is_</code>. Ignores
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/style/predicate_name.cr#L32" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/style/predicate_name.cr#L32" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1096,7 +1096,7 @@ start with the prefix <code>has_</code> or the prefix <code>is_</code>. Ignores
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/style/predicate_name.cr#L40" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/style/predicate_name.cr#L40" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -662,7 +662,7 @@
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/style/redundant_begin.cr#L59" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/style/redundant_begin.cr#L59" target="_blank">
|
||||
ameba/rule/style/redundant_begin.cr
|
||||
</a>
|
||||
|
||||
|
@ -1056,7 +1056,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/style/redundant_begin.cr#L59" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/style/redundant_begin.cr#L59" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1198,7 +1198,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/style/redundant_begin.cr#L67" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/style/redundant_begin.cr#L67" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -701,7 +701,7 @@ without arguments. Sometimes such statements are used to yild the <code>nil</cod
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/style/redundant_next.cr#L99" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/style/redundant_next.cr#L99" target="_blank">
|
||||
ameba/rule/style/redundant_next.cr
|
||||
</a>
|
||||
|
||||
|
@ -1107,7 +1107,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/bedf3a68/src/ameba/rule/style/redundant_next.cr#L99" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/style/redundant_next.cr#L99" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1305,7 +1305,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/bedf3a68/src/ameba/rule/style/redundant_next.cr#L112" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/style/redundant_next.cr#L112" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1321,7 +1321,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/bedf3a68/src/ameba/rule/style/redundant_next.cr#L108" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/style/redundant_next.cr#L108" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -698,7 +698,7 @@ without arguments. Sometimes such returns are used to return the <code>nil</code
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/style/redundant_return.cr#L96" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/style/redundant_return.cr#L96" target="_blank">
|
||||
ameba/rule/style/redundant_return.cr
|
||||
</a>
|
||||
|
||||
|
@ -1101,7 +1101,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/bedf3a68/src/ameba/rule/style/redundant_return.cr#L96" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/style/redundant_return.cr#L96" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1299,7 +1299,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/bedf3a68/src/ameba/rule/style/redundant_return.cr#L109" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/style/redundant_return.cr#L109" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1315,7 +1315,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/bedf3a68/src/ameba/rule/style/redundant_return.cr#L105" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/style/redundant_return.cr#L105" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -660,7 +660,7 @@
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/style/type_names.cr#L55" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/style/type_names.cr#L55" target="_blank">
|
||||
ameba/rule/style/type_names.cr
|
||||
</a>
|
||||
|
||||
|
@ -1020,7 +1020,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/style/type_names.cr#L55" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/style/type_names.cr#L55" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1162,7 +1162,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/style/type_names.cr#L70" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/style/type_names.cr#L70" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1178,7 +1178,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/style/type_names.cr#L74" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/style/type_names.cr#L74" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1194,7 +1194,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/style/type_names.cr#L78" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/style/type_names.cr#L78" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1210,7 +1210,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/style/type_names.cr#L82" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/style/type_names.cr#L82" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1226,7 +1226,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/style/type_names.cr#L86" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/style/type_names.cr#L86" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -649,7 +649,7 @@ an <code>if</code>, so the previous invalid example would become this:</p>
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/style/unless_else.cr#L46" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/style/unless_else.cr#L46" target="_blank">
|
||||
ameba/rule/style/unless_else.cr
|
||||
</a>
|
||||
|
||||
|
@ -978,7 +978,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/bedf3a68/src/ameba/rule/style/unless_else.cr#L46" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/style/unless_else.cr#L46" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1120,7 +1120,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/bedf3a68/src/ameba/rule/style/unless_else.cr#L53" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/style/unless_else.cr#L53" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -631,7 +631,7 @@ wrong_Name <span class="o">=</span> <span class="n">2</span></code></pre>
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/style/variable_names.cr#L26" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/style/variable_names.cr#L26" target="_blank">
|
||||
ameba/rule/style/variable_names.cr
|
||||
</a>
|
||||
|
||||
|
@ -952,7 +952,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/bedf3a68/src/ameba/rule/style/variable_names.cr#L26" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/style/variable_names.cr#L26" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1094,7 +1094,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/bedf3a68/src/ameba/rule/style/variable_names.cr#L39" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/style/variable_names.cr#L39" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1110,7 +1110,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/bedf3a68/src/ameba/rule/style/variable_names.cr#L43" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/style/variable_names.cr#L43" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1126,7 +1126,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/bedf3a68/src/ameba/rule/style/variable_names.cr#L47" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/style/variable_names.cr#L47" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -634,7 +634,7 @@
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/style/while_true.cr#L29" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/style/while_true.cr#L29" target="_blank">
|
||||
ameba/rule/style/while_true.cr
|
||||
</a>
|
||||
|
||||
|
@ -948,7 +948,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/style/while_true.cr#L29" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/style/while_true.cr#L29" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1090,7 +1090,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/rule/style/while_true.cr#L36" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/6d41beba/src/ameba/rule/style/while_true.cr#L36" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue