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

@ -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>