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 @ 150ba6c70f
🚀
This commit is contained in:
parent
3fc0ef00ab
commit
2350a89133
126 changed files with 3021 additions and 728 deletions
|
@ -591,6 +591,11 @@
|
|||
|
||||
</li>
|
||||
|
||||
<li class=" " data-id="ameba/Ameba/Rule/Style/QueryBoolMethods" data-name="ameba::rule::style::queryboolmethods">
|
||||
<a href="../../../Ameba/Rule/Style/QueryBoolMethods.html">QueryBoolMethods</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class=" " data-id="ameba/Ameba/Rule/Style/RedundantBegin" data-name="ameba::rule::style::redundantbegin">
|
||||
<a href="../../../Ameba/Rule/Style/RedundantBegin.html">RedundantBegin</a>
|
||||
|
||||
|
@ -814,7 +819,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/1818bcfd/src/ameba/rule/lint/ambiguous_assignment.cr#L20" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/ambiguous_assignment.cr#L20" target="_blank">
|
||||
ameba/rule/lint/ambiguous_assignment.cr
|
||||
</a>
|
||||
|
||||
|
@ -1024,6 +1029,11 @@ x <span class="o">!=</span> y <span class="c"># or x = !y</span></code></pre>
|
|||
node_source</a>,
|
||||
|
||||
|
||||
<a href="../../../Ameba/AST/Util.html#path_named%3F%28node%2Cname%29%3ABool-instance-method" class="tooltip">
|
||||
<span>path_named?(node, name) : Bool</span>
|
||||
path_named?</a>,
|
||||
|
||||
|
||||
<a href="../../../Ameba/AST/Util.html#raise%3F%28node%29-instance-method" class="tooltip">
|
||||
<span>raise?(node)</span>
|
||||
raise?</a>,
|
||||
|
@ -1215,7 +1225,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/1818bcfd/src/ameba/rule/lint/ambiguous_assignment.cr#L20" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/ambiguous_assignment.cr#L20" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1396,7 +1406,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/1818bcfd/src/ameba/rule/lint/ambiguous_assignment.cr#L35" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/ambiguous_assignment.cr#L35" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -591,6 +591,11 @@
|
|||
|
||||
</li>
|
||||
|
||||
<li class=" " data-id="ameba/Ameba/Rule/Style/QueryBoolMethods" data-name="ameba::rule::style::queryboolmethods">
|
||||
<a href="../../../Ameba/Rule/Style/QueryBoolMethods.html">QueryBoolMethods</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class=" " data-id="ameba/Ameba/Rule/Style/RedundantBegin" data-name="ameba::rule::style::redundantbegin">
|
||||
<a href="../../../Ameba/Rule/Style/RedundantBegin.html">RedundantBegin</a>
|
||||
|
||||
|
@ -809,7 +814,7 @@ to disable a rule that even doesn't exist:</p>
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/1818bcfd/src/ameba/rule/lint/bad_directive.cr#L20" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/bad_directive.cr#L20" target="_blank">
|
||||
ameba/rule/lint/bad_directive.cr
|
||||
</a>
|
||||
|
||||
|
@ -1123,7 +1128,7 @@ to disable a rule that even doesn't exist:</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/1818bcfd/src/ameba/rule/lint/bad_directive.cr#L20" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/bad_directive.cr#L20" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1304,7 +1309,7 @@ to disable a rule that even doesn't exist:</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/1818bcfd/src/ameba/rule/lint/bad_directive.cr#L29" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/bad_directive.cr#L29" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -591,6 +591,11 @@
|
|||
|
||||
</li>
|
||||
|
||||
<li class=" " data-id="ameba/Ameba/Rule/Style/QueryBoolMethods" data-name="ameba::rule::style::queryboolmethods">
|
||||
<a href="../../../Ameba/Rule/Style/QueryBoolMethods.html">QueryBoolMethods</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class=" " data-id="ameba/Ameba/Rule/Style/RedundantBegin" data-name="ameba::rule::style::redundantbegin">
|
||||
<a href="../../../Ameba/Rule/Style/RedundantBegin.html">RedundantBegin</a>
|
||||
|
||||
|
@ -812,7 +817,7 @@ or negating the variable.</p>
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/1818bcfd/src/ameba/rule/lint/comparison_to_boolean.cr#L22" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/comparison_to_boolean.cr#L22" target="_blank">
|
||||
ameba/rule/lint/comparison_to_boolean.cr
|
||||
</a>
|
||||
|
||||
|
@ -1022,6 +1027,11 @@ or negating the variable.</p>
|
|||
node_source</a>,
|
||||
|
||||
|
||||
<a href="../../../Ameba/AST/Util.html#path_named%3F%28node%2Cname%29%3ABool-instance-method" class="tooltip">
|
||||
<span>path_named?(node, name) : Bool</span>
|
||||
path_named?</a>,
|
||||
|
||||
|
||||
<a href="../../../Ameba/AST/Util.html#raise%3F%28node%29-instance-method" class="tooltip">
|
||||
<span>raise?(node)</span>
|
||||
raise?</a>,
|
||||
|
@ -1211,7 +1221,7 @@ or negating the variable.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/1818bcfd/src/ameba/rule/lint/comparison_to_boolean.cr#L22" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/comparison_to_boolean.cr#L22" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1392,7 +1402,7 @@ or negating the variable.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/1818bcfd/src/ameba/rule/lint/comparison_to_boolean.cr#L33" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/comparison_to_boolean.cr#L33" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -591,6 +591,11 @@
|
|||
|
||||
</li>
|
||||
|
||||
<li class=" " data-id="ameba/Ameba/Rule/Style/QueryBoolMethods" data-name="ameba::rule::style::queryboolmethods">
|
||||
<a href="../../../Ameba/Rule/Style/QueryBoolMethods.html">QueryBoolMethods</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class=" " data-id="ameba/Ameba/Rule/Style/RedundantBegin" data-name="ameba::rule::style::redundantbegin">
|
||||
<a href="../../../Ameba/Rule/Style/RedundantBegin.html">RedundantBegin</a>
|
||||
|
||||
|
@ -810,7 +815,7 @@ committed into our codebase.</p>
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/1818bcfd/src/ameba/rule/lint/debug_calls.cr#L18" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/debug_calls.cr#L18" target="_blank">
|
||||
ameba/rule/lint/debug_calls.cr
|
||||
</a>
|
||||
|
||||
|
@ -1125,7 +1130,7 @@ committed into our codebase.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/1818bcfd/src/ameba/rule/lint/debug_calls.cr#L18" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/debug_calls.cr#L18" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1334,7 +1339,7 @@ committed into our codebase.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/1818bcfd/src/ameba/rule/lint/debug_calls.cr#L26" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/debug_calls.cr#L26" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -591,6 +591,11 @@
|
|||
|
||||
</li>
|
||||
|
||||
<li class=" " data-id="ameba/Ameba/Rule/Style/QueryBoolMethods" data-name="ameba::rule::style::queryboolmethods">
|
||||
<a href="../../../Ameba/Rule/Style/QueryBoolMethods.html">QueryBoolMethods</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class=" " data-id="ameba/Ameba/Rule/Style/RedundantBegin" data-name="ameba::rule::style::redundantbegin">
|
||||
<a href="../../../Ameba/Rule/Style/RedundantBegin.html">RedundantBegin</a>
|
||||
|
||||
|
@ -805,7 +810,7 @@ committed into our codebase.</p>
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/1818bcfd/src/ameba/rule/lint/debugger_statement.cr#L13" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/debugger_statement.cr#L13" target="_blank">
|
||||
ameba/rule/lint/debugger_statement.cr
|
||||
</a>
|
||||
|
||||
|
@ -1105,7 +1110,7 @@ committed into our codebase.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/1818bcfd/src/ameba/rule/lint/debugger_statement.cr#L13" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/debugger_statement.cr#L13" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1286,7 +1291,7 @@ committed into our codebase.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/1818bcfd/src/ameba/rule/lint/debugger_statement.cr#L20" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/debugger_statement.cr#L20" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -591,6 +591,11 @@
|
|||
|
||||
</li>
|
||||
|
||||
<li class=" " data-id="ameba/Ameba/Rule/Style/QueryBoolMethods" data-name="ameba::rule::style::queryboolmethods">
|
||||
<a href="../../../Ameba/Rule/Style/QueryBoolMethods.html">QueryBoolMethods</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class=" " data-id="ameba/Ameba/Rule/Style/RedundantBegin" data-name="ameba::rule::style::redundantbegin">
|
||||
<a href="../../../Ameba/Rule/Style/RedundantBegin.html">RedundantBegin</a>
|
||||
|
||||
|
@ -806,7 +811,7 @@
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/1818bcfd/src/ameba/rule/lint/duplicated_require.cr#L16" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/duplicated_require.cr#L16" target="_blank">
|
||||
ameba/rule/lint/duplicated_require.cr
|
||||
</a>
|
||||
|
||||
|
@ -1107,7 +1112,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/1818bcfd/src/ameba/rule/lint/duplicated_require.cr#L16" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/duplicated_require.cr#L16" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1288,7 +1293,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/1818bcfd/src/ameba/rule/lint/duplicated_require.cr#L23" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/duplicated_require.cr#L23" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -591,6 +591,11 @@
|
|||
|
||||
</li>
|
||||
|
||||
<li class=" " data-id="ameba/Ameba/Rule/Style/QueryBoolMethods" data-name="ameba::rule::style::queryboolmethods">
|
||||
<a href="../../../Ameba/Rule/Style/QueryBoolMethods.html">QueryBoolMethods</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class=" " data-id="ameba/Ameba/Rule/Style/RedundantBegin" data-name="ameba::rule::style::redundantbegin">
|
||||
<a href="../../../Ameba/Rule/Style/RedundantBegin.html">RedundantBegin</a>
|
||||
|
||||
|
@ -825,7 +830,7 @@
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/1818bcfd/src/ameba/rule/lint/empty_ensure.cr#L41" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/empty_ensure.cr#L41" target="_blank">
|
||||
ameba/rule/lint/empty_ensure.cr
|
||||
</a>
|
||||
|
||||
|
@ -1145,7 +1150,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/1818bcfd/src/ameba/rule/lint/empty_ensure.cr#L41" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/empty_ensure.cr#L41" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1326,7 +1331,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/1818bcfd/src/ameba/rule/lint/empty_ensure.cr#L48" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/empty_ensure.cr#L48" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -591,6 +591,11 @@
|
|||
|
||||
</li>
|
||||
|
||||
<li class=" " data-id="ameba/Ameba/Rule/Style/QueryBoolMethods" data-name="ameba::rule::style::queryboolmethods">
|
||||
<a href="../../../Ameba/Rule/Style/QueryBoolMethods.html">QueryBoolMethods</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class=" " data-id="ameba/Ameba/Rule/Style/RedundantBegin" data-name="ameba::rule::style::redundantbegin">
|
||||
<a href="../../../Ameba/Rule/Style/RedundantBegin.html">RedundantBegin</a>
|
||||
|
||||
|
@ -817,7 +822,7 @@
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/1818bcfd/src/ameba/rule/lint/empty_expression.cr#L30" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/empty_expression.cr#L30" target="_blank">
|
||||
ameba/rule/lint/empty_expression.cr
|
||||
</a>
|
||||
|
||||
|
@ -1032,6 +1037,11 @@
|
|||
node_source</a>,
|
||||
|
||||
|
||||
<a href="../../../Ameba/AST/Util.html#path_named%3F%28node%2Cname%29%3ABool-instance-method" class="tooltip">
|
||||
<span>path_named?(node, name) : Bool</span>
|
||||
path_named?</a>,
|
||||
|
||||
|
||||
<a href="../../../Ameba/AST/Util.html#raise%3F%28node%29-instance-method" class="tooltip">
|
||||
<span>raise?(node)</span>
|
||||
raise?</a>,
|
||||
|
@ -1226,7 +1236,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/1818bcfd/src/ameba/rule/lint/empty_expression.cr#L30" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/empty_expression.cr#L30" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1407,7 +1417,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/1818bcfd/src/ameba/rule/lint/empty_expression.cr#L40" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/empty_expression.cr#L40" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1423,7 +1433,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/1818bcfd/src/ameba/rule/lint/empty_expression.cr#L47" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/empty_expression.cr#L47" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -591,6 +591,11 @@
|
|||
|
||||
</li>
|
||||
|
||||
<li class=" " data-id="ameba/Ameba/Rule/Style/QueryBoolMethods" data-name="ameba::rule::style::queryboolmethods">
|
||||
<a href="../../../Ameba/Rule/Style/QueryBoolMethods.html">QueryBoolMethods</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class=" " data-id="ameba/Ameba/Rule/Style/RedundantBegin" data-name="ameba::rule::style::redundantbegin">
|
||||
<a href="../../../Ameba/Rule/Style/RedundantBegin.html">RedundantBegin</a>
|
||||
|
||||
|
@ -827,7 +832,7 @@ loop <span class="k">do</span>
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/1818bcfd/src/ameba/rule/lint/empty_loop.cr#L40" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/empty_loop.cr#L40" target="_blank">
|
||||
ameba/rule/lint/empty_loop.cr
|
||||
</a>
|
||||
|
||||
|
@ -1037,6 +1042,11 @@ loop <span class="k">do</span>
|
|||
node_source</a>,
|
||||
|
||||
|
||||
<a href="../../../Ameba/AST/Util.html#path_named%3F%28node%2Cname%29%3ABool-instance-method" class="tooltip">
|
||||
<span>path_named?(node, name) : Bool</span>
|
||||
path_named?</a>,
|
||||
|
||||
|
||||
<a href="../../../Ameba/AST/Util.html#raise%3F%28node%29-instance-method" class="tooltip">
|
||||
<span>raise?(node)</span>
|
||||
raise?</a>,
|
||||
|
@ -1241,7 +1251,7 @@ loop <span class="k">do</span>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/1818bcfd/src/ameba/rule/lint/empty_loop.cr#L40" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/empty_loop.cr#L40" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1422,7 +1432,7 @@ loop <span class="k">do</span>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/1818bcfd/src/ameba/rule/lint/empty_loop.cr#L49" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/empty_loop.cr#L49" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1438,7 +1448,7 @@ loop <span class="k">do</span>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/1818bcfd/src/ameba/rule/lint/empty_loop.cr#L55" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/empty_loop.cr#L55" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -591,6 +591,11 @@
|
|||
|
||||
</li>
|
||||
|
||||
<li class=" " data-id="ameba/Ameba/Rule/Style/QueryBoolMethods" data-name="ameba::rule::style::queryboolmethods">
|
||||
<a href="../../../Ameba/Rule/Style/QueryBoolMethods.html">QueryBoolMethods</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class=" " data-id="ameba/Ameba/Rule/Style/RedundantBegin" data-name="ameba::rule::style::redundantbegin">
|
||||
<a href="../../../Ameba/Rule/Style/RedundantBegin.html">RedundantBegin</a>
|
||||
|
||||
|
@ -807,7 +812,7 @@
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/1818bcfd/src/ameba/rule/lint/hash_duplicated_key.cr#L22" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/hash_duplicated_key.cr#L22" target="_blank">
|
||||
ameba/rule/lint/hash_duplicated_key.cr
|
||||
</a>
|
||||
|
||||
|
@ -1109,7 +1114,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/1818bcfd/src/ameba/rule/lint/hash_duplicated_key.cr#L22" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/hash_duplicated_key.cr#L22" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1290,7 +1295,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/1818bcfd/src/ameba/rule/lint/hash_duplicated_key.cr#L29" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/hash_duplicated_key.cr#L29" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -591,6 +591,11 @@
|
|||
|
||||
</li>
|
||||
|
||||
<li class=" " data-id="ameba/Ameba/Rule/Style/QueryBoolMethods" data-name="ameba::rule::style::queryboolmethods">
|
||||
<a href="../../../Ameba/Rule/Style/QueryBoolMethods.html">QueryBoolMethods</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class=" " data-id="ameba/Ameba/Rule/Style/RedundantBegin" data-name="ameba::rule::style::redundantbegin">
|
||||
<a href="../../../Ameba/Rule/Style/RedundantBegin.html">RedundantBegin</a>
|
||||
|
||||
|
@ -814,7 +819,7 @@ in control expressions.</p>
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/1818bcfd/src/ameba/rule/lint/literal_assignments_in_expressions.cr#L27" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/literal_assignments_in_expressions.cr#L27" target="_blank">
|
||||
ameba/rule/lint/literal_assignments_in_expressions.cr
|
||||
</a>
|
||||
|
||||
|
@ -1019,6 +1024,11 @@ in control expressions.</p>
|
|||
node_source</a>,
|
||||
|
||||
|
||||
<a href="../../../Ameba/AST/Util.html#path_named%3F%28node%2Cname%29%3ABool-instance-method" class="tooltip">
|
||||
<span>path_named?(node, name) : Bool</span>
|
||||
path_named?</a>,
|
||||
|
||||
|
||||
<a href="../../../Ameba/AST/Util.html#raise%3F%28node%29-instance-method" class="tooltip">
|
||||
<span>raise?(node)</span>
|
||||
raise?</a>,
|
||||
|
@ -1210,7 +1220,7 @@ in control expressions.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/1818bcfd/src/ameba/rule/lint/literal_assignments_in_expressions.cr#L27" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/literal_assignments_in_expressions.cr#L27" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1391,7 +1401,7 @@ in control expressions.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/1818bcfd/src/ameba/rule/lint/literal_assignments_in_expressions.cr#L36" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/literal_assignments_in_expressions.cr#L36" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -591,6 +591,11 @@
|
|||
|
||||
</li>
|
||||
|
||||
<li class=" " data-id="ameba/Ameba/Rule/Style/QueryBoolMethods" data-name="ameba::rule::style::queryboolmethods">
|
||||
<a href="../../../Ameba/Rule/Style/QueryBoolMethods.html">QueryBoolMethods</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class=" " data-id="ameba/Ameba/Rule/Style/RedundantBegin" data-name="ameba::rule::style::redundantbegin">
|
||||
<a href="../../../Ameba/Rule/Style/RedundantBegin.html">RedundantBegin</a>
|
||||
|
||||
|
@ -813,7 +818,7 @@ replaced with either the body of the construct, or deleted entirely.</p>
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/1818bcfd/src/ameba/rule/lint/literal_in_condition.cr#L22" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/literal_in_condition.cr#L22" target="_blank">
|
||||
ameba/rule/lint/literal_in_condition.cr
|
||||
</a>
|
||||
|
||||
|
@ -1023,6 +1028,11 @@ replaced with either the body of the construct, or deleted entirely.</p>
|
|||
node_source</a>,
|
||||
|
||||
|
||||
<a href="../../../Ameba/AST/Util.html#path_named%3F%28node%2Cname%29%3ABool-instance-method" class="tooltip">
|
||||
<span>path_named?(node, name) : Bool</span>
|
||||
path_named?</a>,
|
||||
|
||||
|
||||
<a href="../../../Ameba/AST/Util.html#raise%3F%28node%29-instance-method" class="tooltip">
|
||||
<span>raise?(node)</span>
|
||||
raise?</a>,
|
||||
|
@ -1213,7 +1223,7 @@ replaced with either the body of the construct, or deleted entirely.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/1818bcfd/src/ameba/rule/lint/literal_in_condition.cr#L22" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/literal_in_condition.cr#L22" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1282,7 +1292,7 @@ replaced with either the body of the construct, or deleted entirely.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/1818bcfd/src/ameba/rule/lint/literal_in_condition.cr#L32" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/literal_in_condition.cr#L32" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1410,7 +1420,7 @@ replaced with either the body of the construct, or deleted entirely.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/1818bcfd/src/ameba/rule/lint/literal_in_condition.cr#L36" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/literal_in_condition.cr#L36" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -591,6 +591,11 @@
|
|||
|
||||
</li>
|
||||
|
||||
<li class=" " data-id="ameba/Ameba/Rule/Style/QueryBoolMethods" data-name="ameba::rule::style::queryboolmethods">
|
||||
<a href="../../../Ameba/Rule/Style/QueryBoolMethods.html">QueryBoolMethods</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class=" " data-id="ameba/Ameba/Rule/Style/RedundantBegin" data-name="ameba::rule::style::redundantbegin">
|
||||
<a href="../../../Ameba/Rule/Style/RedundantBegin.html">RedundantBegin</a>
|
||||
|
||||
|
@ -809,7 +814,7 @@ that contain a literal value instead of a variable or function.</p>
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/1818bcfd/src/ameba/rule/lint/literal_in_interpolation.cr#L18" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/literal_in_interpolation.cr#L18" target="_blank">
|
||||
ameba/rule/lint/literal_in_interpolation.cr
|
||||
</a>
|
||||
|
||||
|
@ -1014,6 +1019,11 @@ that contain a literal value instead of a variable or function.</p>
|
|||
node_source</a>,
|
||||
|
||||
|
||||
<a href="../../../Ameba/AST/Util.html#path_named%3F%28node%2Cname%29%3ABool-instance-method" class="tooltip">
|
||||
<span>path_named?(node, name) : Bool</span>
|
||||
path_named?</a>,
|
||||
|
||||
|
||||
<a href="../../../Ameba/AST/Util.html#raise%3F%28node%29-instance-method" class="tooltip">
|
||||
<span>raise?(node)</span>
|
||||
raise?</a>,
|
||||
|
@ -1200,7 +1210,7 @@ that contain a literal value instead of a variable or function.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/1818bcfd/src/ameba/rule/lint/literal_in_interpolation.cr#L18" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/literal_in_interpolation.cr#L18" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1381,7 +1391,7 @@ that contain a literal value instead of a variable or function.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/1818bcfd/src/ameba/rule/lint/literal_in_interpolation.cr#L27" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/literal_in_interpolation.cr#L27" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -591,6 +591,11 @@
|
|||
|
||||
</li>
|
||||
|
||||
<li class=" " data-id="ameba/Ameba/Rule/Style/QueryBoolMethods" data-name="ameba::rule::style::queryboolmethods">
|
||||
<a href="../../../Ameba/Rule/Style/QueryBoolMethods.html">QueryBoolMethods</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class=" " data-id="ameba/Ameba/Rule/Style/RedundantBegin" data-name="ameba::rule::style::redundantbegin">
|
||||
<a href="../../../Ameba/Rule/Style/RedundantBegin.html">RedundantBegin</a>
|
||||
|
||||
|
@ -809,7 +814,7 @@ types like containers, range or regex.</p>
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/1818bcfd/src/ameba/rule/lint/literals_comparison.cr#L20" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/literals_comparison.cr#L20" target="_blank">
|
||||
ameba/rule/lint/literals_comparison.cr
|
||||
</a>
|
||||
|
||||
|
@ -1031,6 +1036,11 @@ types like containers, range or regex.</p>
|
|||
node_source</a>,
|
||||
|
||||
|
||||
<a href="../../../Ameba/AST/Util.html#path_named%3F%28node%2Cname%29%3ABool-instance-method" class="tooltip">
|
||||
<span>path_named?(node, name) : Bool</span>
|
||||
path_named?</a>,
|
||||
|
||||
|
||||
<a href="../../../Ameba/AST/Util.html#raise%3F%28node%29-instance-method" class="tooltip">
|
||||
<span>raise?(node)</span>
|
||||
raise?</a>,
|
||||
|
@ -1217,7 +1227,7 @@ types like containers, range or regex.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/1818bcfd/src/ameba/rule/lint/literals_comparison.cr#L20" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/literals_comparison.cr#L20" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1398,7 +1408,7 @@ types like containers, range or regex.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/1818bcfd/src/ameba/rule/lint/literals_comparison.cr#L48" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/literals_comparison.cr#L48" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1423,7 +1433,7 @@ is a free var</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/1818bcfd/src/ameba/rule/lint/literals_comparison.cr#L39" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/literals_comparison.cr#L39" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -591,6 +591,11 @@
|
|||
|
||||
</li>
|
||||
|
||||
<li class=" " data-id="ameba/Ameba/Rule/Style/QueryBoolMethods" data-name="ameba::rule::style::queryboolmethods">
|
||||
<a href="../../../Ameba/Rule/Style/QueryBoolMethods.html">QueryBoolMethods</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class=" " data-id="ameba/Ameba/Rule/Style/RedundantBegin" data-name="ameba::rule::style::redundantbegin">
|
||||
<a href="../../../Ameba/Rule/Style/RedundantBegin.html">RedundantBegin</a>
|
||||
|
||||
|
@ -815,7 +820,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/1818bcfd/src/ameba/rule/lint/not_nil.cr#L28" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/not_nil.cr#L28" target="_blank">
|
||||
ameba/rule/lint/not_nil.cr
|
||||
</a>
|
||||
|
||||
|
@ -1030,6 +1035,11 @@ alice <span class="o">=</span> names.find { <span class="o">|</span>name<span cl
|
|||
node_source</a>,
|
||||
|
||||
|
||||
<a href="../../../Ameba/AST/Util.html#path_named%3F%28node%2Cname%29%3ABool-instance-method" class="tooltip">
|
||||
<span>path_named?(node, name) : Bool</span>
|
||||
path_named?</a>,
|
||||
|
||||
|
||||
<a href="../../../Ameba/AST/Util.html#raise%3F%28node%29-instance-method" class="tooltip">
|
||||
<span>raise?(node)</span>
|
||||
raise?</a>,
|
||||
|
@ -1222,7 +1232,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/1818bcfd/src/ameba/rule/lint/not_nil.cr#L28" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/not_nil.cr#L28" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1403,7 +1413,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/1818bcfd/src/ameba/rule/lint/not_nil.cr#L47" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/not_nil.cr#L47" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1419,7 +1429,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/1818bcfd/src/ameba/rule/lint/not_nil.cr#L38" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/not_nil.cr#L38" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -591,6 +591,11 @@
|
|||
|
||||
</li>
|
||||
|
||||
<li class=" " data-id="ameba/Ameba/Rule/Style/QueryBoolMethods" data-name="ameba::rule::style::queryboolmethods">
|
||||
<a href="../../../Ameba/Rule/Style/QueryBoolMethods.html">QueryBoolMethods</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class=" " data-id="ameba/Ameba/Rule/Style/RedundantBegin" data-name="ameba::rule::style::redundantbegin">
|
||||
<a href="../../../Ameba/Rule/Style/RedundantBegin.html">RedundantBegin</a>
|
||||
|
||||
|
@ -809,7 +814,7 @@
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/1818bcfd/src/ameba/rule/lint/not_nil_after_no_bang.cr#L22" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/not_nil_after_no_bang.cr#L22" target="_blank">
|
||||
ameba/rule/lint/not_nil_after_no_bang.cr
|
||||
</a>
|
||||
|
||||
|
@ -1034,6 +1039,11 @@
|
|||
node_source</a>,
|
||||
|
||||
|
||||
<a href="../../../Ameba/AST/Util.html#path_named%3F%28node%2Cname%29%3ABool-instance-method" class="tooltip">
|
||||
<span>path_named?(node, name) : Bool</span>
|
||||
path_named?</a>,
|
||||
|
||||
|
||||
<a href="../../../Ameba/AST/Util.html#raise%3F%28node%29-instance-method" class="tooltip">
|
||||
<span>raise?(node)</span>
|
||||
raise?</a>,
|
||||
|
@ -1220,7 +1230,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/1818bcfd/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/150ba6c7/src/ameba/rule/lint/not_nil_after_no_bang.cr#L22" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1401,7 +1411,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/1818bcfd/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/150ba6c7/src/ameba/rule/lint/not_nil_after_no_bang.cr#L44" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1417,7 +1427,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/1818bcfd/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/150ba6c7/src/ameba/rule/lint/not_nil_after_no_bang.cr#L35" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -591,6 +591,11 @@
|
|||
|
||||
</li>
|
||||
|
||||
<li class=" " data-id="ameba/Ameba/Rule/Style/QueryBoolMethods" data-name="ameba::rule::style::queryboolmethods">
|
||||
<a href="../../../Ameba/Rule/Style/QueryBoolMethods.html">QueryBoolMethods</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class=" " data-id="ameba/Ameba/Rule/Style/RedundantBegin" data-name="ameba::rule::style::redundantbegin">
|
||||
<a href="../../../Ameba/Rule/Style/RedundantBegin.html">RedundantBegin</a>
|
||||
|
||||
|
@ -811,7 +816,7 @@
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/1818bcfd/src/ameba/rule/lint/percent_array.cr#L26" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/percent_array.cr#L26" target="_blank">
|
||||
ameba/rule/lint/percent_array.cr
|
||||
</a>
|
||||
|
||||
|
@ -1137,7 +1142,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/1818bcfd/src/ameba/rule/lint/percent_array.cr#L26" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/percent_array.cr#L26" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1374,7 +1379,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/1818bcfd/src/ameba/rule/lint/percent_array.cr#L36" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/percent_array.cr#L36" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -591,6 +591,11 @@
|
|||
|
||||
</li>
|
||||
|
||||
<li class=" " data-id="ameba/Ameba/Rule/Style/QueryBoolMethods" data-name="ameba::rule::style::queryboolmethods">
|
||||
<a href="../../../Ameba/Rule/Style/QueryBoolMethods.html">QueryBoolMethods</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class=" " data-id="ameba/Ameba/Rule/Style/RedundantBegin" data-name="ameba::rule::style::redundantbegin">
|
||||
<a href="../../../Ameba/Rule/Style/RedundantBegin.html">RedundantBegin</a>
|
||||
|
||||
|
@ -810,7 +815,7 @@ rand(<span class="n">2</span>)</code></pre>
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/1818bcfd/src/ameba/rule/lint/rand_zero.cr#L25" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/rand_zero.cr#L25" target="_blank">
|
||||
ameba/rule/lint/rand_zero.cr
|
||||
</a>
|
||||
|
||||
|
@ -1115,7 +1120,7 @@ rand(<span class="n">2</span>)</code></pre>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/1818bcfd/src/ameba/rule/lint/rand_zero.cr#L25" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/rand_zero.cr#L25" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1296,7 +1301,7 @@ rand(<span class="n">2</span>)</code></pre>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/1818bcfd/src/ameba/rule/lint/rand_zero.cr#L32" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/rand_zero.cr#L32" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -591,6 +591,11 @@
|
|||
|
||||
</li>
|
||||
|
||||
<li class=" " data-id="ameba/Ameba/Rule/Style/QueryBoolMethods" data-name="ameba::rule::style::queryboolmethods">
|
||||
<a href="../../../Ameba/Rule/Style/QueryBoolMethods.html">QueryBoolMethods</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class=" " data-id="ameba/Ameba/Rule/Style/RedundantBegin" data-name="ameba::rule::style::redundantbegin">
|
||||
<a href="../../../Ameba/Rule/Style/RedundantBegin.html">RedundantBegin</a>
|
||||
|
||||
|
@ -810,7 +815,7 @@ which is redundant.</p>
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/1818bcfd/src/ameba/rule/lint/redundant_string_coercion.cr#L23" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/redundant_string_coercion.cr#L23" target="_blank">
|
||||
ameba/rule/lint/redundant_string_coercion.cr
|
||||
</a>
|
||||
|
||||
|
@ -1015,6 +1020,11 @@ which is redundant.</p>
|
|||
node_source</a>,
|
||||
|
||||
|
||||
<a href="../../../Ameba/AST/Util.html#path_named%3F%28node%2Cname%29%3ABool-instance-method" class="tooltip">
|
||||
<span>path_named?(node, name) : Bool</span>
|
||||
path_named?</a>,
|
||||
|
||||
|
||||
<a href="../../../Ameba/AST/Util.html#raise%3F%28node%29-instance-method" class="tooltip">
|
||||
<span>raise?(node)</span>
|
||||
raise?</a>,
|
||||
|
@ -1202,7 +1212,7 @@ which is redundant.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/1818bcfd/src/ameba/rule/lint/redundant_string_coercion.cr#L23" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/redundant_string_coercion.cr#L23" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1383,7 +1393,7 @@ which is redundant.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/1818bcfd/src/ameba/rule/lint/redundant_string_coercion.cr#L32" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/redundant_string_coercion.cr#L32" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -591,6 +591,11 @@
|
|||
|
||||
</li>
|
||||
|
||||
<li class=" " data-id="ameba/Ameba/Rule/Style/QueryBoolMethods" data-name="ameba::rule::style::queryboolmethods">
|
||||
<a href="../../../Ameba/Rule/Style/QueryBoolMethods.html">QueryBoolMethods</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class=" " data-id="ameba/Ameba/Rule/Style/RedundantBegin" data-name="ameba::rule::style::redundantbegin">
|
||||
<a href="../../../Ameba/Rule/Style/RedundantBegin.html">RedundantBegin</a>
|
||||
|
||||
|
@ -815,7 +820,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/1818bcfd/src/ameba/rule/lint/redundant_with_index.cr#L30" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/redundant_with_index.cr#L30" target="_blank">
|
||||
ameba/rule/lint/redundant_with_index.cr
|
||||
</a>
|
||||
|
||||
|
@ -1106,7 +1111,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/1818bcfd/src/ameba/rule/lint/redundant_with_index.cr#L30" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/redundant_with_index.cr#L30" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1287,7 +1292,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/1818bcfd/src/ameba/rule/lint/redundant_with_index.cr#L35" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/redundant_with_index.cr#L35" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -591,6 +591,11 @@
|
|||
|
||||
</li>
|
||||
|
||||
<li class=" " data-id="ameba/Ameba/Rule/Style/QueryBoolMethods" data-name="ameba::rule::style::queryboolmethods">
|
||||
<a href="../../../Ameba/Rule/Style/QueryBoolMethods.html">QueryBoolMethods</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class=" " data-id="ameba/Ameba/Rule/Style/RedundantBegin" data-name="ameba::rule::style::redundantbegin">
|
||||
<a href="../../../Ameba/Rule/Style/RedundantBegin.html">RedundantBegin</a>
|
||||
|
||||
|
@ -815,7 +820,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/1818bcfd/src/ameba/rule/lint/redundant_with_object.cr#L30" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/redundant_with_object.cr#L30" target="_blank">
|
||||
ameba/rule/lint/redundant_with_object.cr
|
||||
</a>
|
||||
|
||||
|
@ -1125,7 +1130,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/1818bcfd/src/ameba/rule/lint/redundant_with_object.cr#L30" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/redundant_with_object.cr#L30" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1306,7 +1311,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/1818bcfd/src/ameba/rule/lint/redundant_with_object.cr#L37" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/redundant_with_object.cr#L37" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -591,6 +591,11 @@
|
|||
|
||||
</li>
|
||||
|
||||
<li class=" " data-id="ameba/Ameba/Rule/Style/QueryBoolMethods" data-name="ameba::rule::style::queryboolmethods">
|
||||
<a href="../../../Ameba/Rule/Style/QueryBoolMethods.html">QueryBoolMethods</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class=" " data-id="ameba/Ameba/Rule/Style/RedundantBegin" data-name="ameba::rule::style::redundantbegin">
|
||||
<a href="../../../Ameba/Rule/Style/RedundantBegin.html">RedundantBegin</a>
|
||||
|
||||
|
@ -823,7 +828,7 @@
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/1818bcfd/src/ameba/rule/lint/shadowed_argument.cr#L38" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/shadowed_argument.cr#L38" target="_blank">
|
||||
ameba/rule/lint/shadowed_argument.cr
|
||||
</a>
|
||||
|
||||
|
@ -1146,7 +1151,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/1818bcfd/src/ameba/rule/lint/shadowed_argument.cr#L38" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/shadowed_argument.cr#L38" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1327,7 +1332,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/1818bcfd/src/ameba/rule/lint/shadowed_argument.cr#L49" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/shadowed_argument.cr#L49" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1343,7 +1348,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/1818bcfd/src/ameba/rule/lint/shadowed_argument.cr#L45" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/shadowed_argument.cr#L45" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -591,6 +591,11 @@
|
|||
|
||||
</li>
|
||||
|
||||
<li class=" " data-id="ameba/Ameba/Rule/Style/QueryBoolMethods" data-name="ameba::rule::style::queryboolmethods">
|
||||
<a href="../../../Ameba/Rule/Style/QueryBoolMethods.html">QueryBoolMethods</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class=" " data-id="ameba/Ameba/Rule/Style/RedundantBegin" data-name="ameba::rule::style::redundantbegin">
|
||||
<a href="../../../Ameba/Rule/Style/RedundantBegin.html">RedundantBegin</a>
|
||||
|
||||
|
@ -821,7 +826,7 @@ exception is rescued.</p>
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/1818bcfd/src/ameba/rule/lint/shadowed_exception.cr#L36" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/shadowed_exception.cr#L36" target="_blank">
|
||||
ameba/rule/lint/shadowed_exception.cr
|
||||
</a>
|
||||
|
||||
|
@ -1137,7 +1142,7 @@ exception is rescued.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/1818bcfd/src/ameba/rule/lint/shadowed_exception.cr#L36" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/shadowed_exception.cr#L36" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1318,7 +1323,7 @@ exception is rescued.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/1818bcfd/src/ameba/rule/lint/shadowed_exception.cr#L43" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/shadowed_exception.cr#L43" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -591,6 +591,11 @@
|
|||
|
||||
</li>
|
||||
|
||||
<li class=" " data-id="ameba/Ameba/Rule/Style/QueryBoolMethods" data-name="ameba::rule::style::queryboolmethods">
|
||||
<a href="../../../Ameba/Rule/Style/QueryBoolMethods.html">QueryBoolMethods</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class=" " data-id="ameba/Ameba/Rule/Style/RedundantBegin" data-name="ameba::rule::style::redundantbegin">
|
||||
<a href="../../../Ameba/Rule/Style/RedundantBegin.html">RedundantBegin</a>
|
||||
|
||||
|
@ -818,7 +823,7 @@ for block or proc arguments.</p>
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/1818bcfd/src/ameba/rule/lint/shadowing_outer_local_var.cr#L33" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/shadowing_outer_local_var.cr#L33" target="_blank">
|
||||
ameba/rule/lint/shadowing_outer_local_var.cr
|
||||
</a>
|
||||
|
||||
|
@ -1136,7 +1141,7 @@ for block or proc arguments.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/1818bcfd/src/ameba/rule/lint/shadowing_outer_local_var.cr#L33" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/shadowing_outer_local_var.cr#L33" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1317,7 +1322,7 @@ for block or proc arguments.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/1818bcfd/src/ameba/rule/lint/shadowing_outer_local_var.cr#L48" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/shadowing_outer_local_var.cr#L48" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1333,7 +1338,7 @@ for block or proc arguments.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/1818bcfd/src/ameba/rule/lint/shadowing_outer_local_var.cr#L41" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/shadowing_outer_local_var.cr#L41" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -591,6 +591,11 @@
|
|||
|
||||
</li>
|
||||
|
||||
<li class=" " data-id="ameba/Ameba/Rule/Style/QueryBoolMethods" data-name="ameba::rule::style::queryboolmethods">
|
||||
<a href="../../../Ameba/Rule/Style/QueryBoolMethods.html">QueryBoolMethods</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class=" " data-id="ameba/Ameba/Rule/Style/RedundantBegin" data-name="ameba::rule::style::redundantbegin">
|
||||
<a href="../../../Ameba/Rule/Style/RedundantBegin.html">RedundantBegin</a>
|
||||
|
||||
|
@ -833,7 +838,7 @@ the second one.</p>
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/1818bcfd/src/ameba/rule/lint/shared_var_in_fiber.cr#L52" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/shared_var_in_fiber.cr#L52" target="_blank">
|
||||
ameba/rule/lint/shared_var_in_fiber.cr
|
||||
</a>
|
||||
|
||||
|
@ -1166,7 +1171,7 @@ the second one.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/1818bcfd/src/ameba/rule/lint/shared_var_in_fiber.cr#L52" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/shared_var_in_fiber.cr#L52" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1347,7 +1352,7 @@ the second one.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/1818bcfd/src/ameba/rule/lint/shared_var_in_fiber.cr#L63" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/shared_var_in_fiber.cr#L63" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1363,7 +1368,7 @@ the second one.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/1818bcfd/src/ameba/rule/lint/shared_var_in_fiber.cr#L59" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/shared_var_in_fiber.cr#L59" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -591,6 +591,11 @@
|
|||
|
||||
</li>
|
||||
|
||||
<li class=" " data-id="ameba/Ameba/Rule/Style/QueryBoolMethods" data-name="ameba::rule::style::queryboolmethods">
|
||||
<a href="../../../Ameba/Rule/Style/QueryBoolMethods.html">QueryBoolMethods</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class=" " data-id="ameba/Ameba/Rule/Style/RedundantBegin" data-name="ameba::rule::style::redundantbegin">
|
||||
<a href="../../../Ameba/Rule/Style/RedundantBegin.html">RedundantBegin</a>
|
||||
|
||||
|
@ -831,7 +836,7 @@ it <span class="s">"works"</span> <span class="k">do</span>
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/1818bcfd/src/ameba/rule/lint/spec_focus.cr#L47" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/spec_focus.cr#L47" target="_blank">
|
||||
ameba/rule/lint/spec_focus.cr
|
||||
</a>
|
||||
|
||||
|
@ -1167,7 +1172,7 @@ it <span class="s">"works"</span> <span class="k">do</span>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/1818bcfd/src/ameba/rule/lint/spec_focus.cr#L47" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/spec_focus.cr#L47" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1348,7 +1353,7 @@ it <span class="s">"works"</span> <span class="k">do</span>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/1818bcfd/src/ameba/rule/lint/spec_focus.cr#L61" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/spec_focus.cr#L61" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1364,7 +1369,7 @@ it <span class="s">"works"</span> <span class="k">do</span>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/1818bcfd/src/ameba/rule/lint/spec_focus.cr#L55" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/spec_focus.cr#L55" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -591,6 +591,11 @@
|
|||
|
||||
</li>
|
||||
|
||||
<li class=" " data-id="ameba/Ameba/Rule/Style/QueryBoolMethods" data-name="ameba::rule::style::queryboolmethods">
|
||||
<a href="../../../Ameba/Rule/Style/QueryBoolMethods.html">QueryBoolMethods</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class=" " data-id="ameba/Ameba/Rule/Style/RedundantBegin" data-name="ameba::rule::style::redundantbegin">
|
||||
<a href="../../../Ameba/Rule/Style/RedundantBegin.html">RedundantBegin</a>
|
||||
|
||||
|
@ -810,7 +815,7 @@
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/1818bcfd/src/ameba/rule/lint/syntax.cr#L21" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/syntax.cr#L21" target="_blank">
|
||||
ameba/rule/lint/syntax.cr
|
||||
</a>
|
||||
|
||||
|
@ -1096,7 +1101,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/1818bcfd/src/ameba/rule/lint/syntax.cr#L21" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/syntax.cr#L21" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1277,7 +1282,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/1818bcfd/src/ameba/rule/lint/syntax.cr#L27" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/syntax.cr#L27" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -591,6 +591,11 @@
|
|||
|
||||
</li>
|
||||
|
||||
<li class=" " data-id="ameba/Ameba/Rule/Style/QueryBoolMethods" data-name="ameba::rule::style::queryboolmethods">
|
||||
<a href="../../../Ameba/Rule/Style/QueryBoolMethods.html">QueryBoolMethods</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class=" " data-id="ameba/Ameba/Rule/Style/RedundantBegin" data-name="ameba::rule::style::redundantbegin">
|
||||
<a href="../../../Ameba/Rule/Style/RedundantBegin.html">RedundantBegin</a>
|
||||
|
||||
|
@ -813,7 +818,7 @@ have any effect, the snippet should be written as the following:</p>
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/1818bcfd/src/ameba/rule/lint/unneeded_disable_directive.cr#L27" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/unneeded_disable_directive.cr#L27" target="_blank">
|
||||
ameba/rule/lint/unneeded_disable_directive.cr
|
||||
</a>
|
||||
|
||||
|
@ -1121,7 +1126,7 @@ have any effect, the snippet should be written as the following:</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/1818bcfd/src/ameba/rule/lint/unneeded_disable_directive.cr#L27" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/unneeded_disable_directive.cr#L27" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1302,7 +1307,7 @@ have any effect, the snippet should be written as the following:</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/1818bcfd/src/ameba/rule/lint/unneeded_disable_directive.cr#L34" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/unneeded_disable_directive.cr#L34" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -591,6 +591,11 @@
|
|||
|
||||
</li>
|
||||
|
||||
<li class=" " data-id="ameba/Ameba/Rule/Style/QueryBoolMethods" data-name="ameba::rule::style::queryboolmethods">
|
||||
<a href="../../../Ameba/Rule/Style/QueryBoolMethods.html">QueryBoolMethods</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class=" " data-id="ameba/Ameba/Rule/Style/RedundantBegin" data-name="ameba::rule::style::redundantbegin">
|
||||
<a href="../../../Ameba/Rule/Style/RedundantBegin.html">RedundantBegin</a>
|
||||
|
||||
|
@ -825,7 +830,7 @@ loop <span class="k">do</span>
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/1818bcfd/src/ameba/rule/lint/unreachable_code.cr#L44" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/unreachable_code.cr#L44" target="_blank">
|
||||
ameba/rule/lint/unreachable_code.cr
|
||||
</a>
|
||||
|
||||
|
@ -1035,6 +1040,11 @@ loop <span class="k">do</span>
|
|||
node_source</a>,
|
||||
|
||||
|
||||
<a href="../../../Ameba/AST/Util.html#path_named%3F%28node%2Cname%29%3ABool-instance-method" class="tooltip">
|
||||
<span>path_named?(node, name) : Bool</span>
|
||||
path_named?</a>,
|
||||
|
||||
|
||||
<a href="../../../Ameba/AST/Util.html#raise%3F%28node%29-instance-method" class="tooltip">
|
||||
<span>raise?(node)</span>
|
||||
raise?</a>,
|
||||
|
@ -1237,7 +1247,7 @@ loop <span class="k">do</span>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/1818bcfd/src/ameba/rule/lint/unreachable_code.cr#L44" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/unreachable_code.cr#L44" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1418,7 +1428,7 @@ loop <span class="k">do</span>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/1818bcfd/src/ameba/rule/lint/unreachable_code.cr#L57" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/unreachable_code.cr#L57" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1434,7 +1444,7 @@ loop <span class="k">do</span>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/1818bcfd/src/ameba/rule/lint/unreachable_code.cr#L53" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/unreachable_code.cr#L53" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -591,6 +591,11 @@
|
|||
|
||||
</li>
|
||||
|
||||
<li class=" " data-id="ameba/Ameba/Rule/Style/QueryBoolMethods" data-name="ameba::rule::style::queryboolmethods">
|
||||
<a href="../../../Ameba/Rule/Style/QueryBoolMethods.html">QueryBoolMethods</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class=" " data-id="ameba/Ameba/Rule/Style/RedundantBegin" data-name="ameba::rule::style::redundantbegin">
|
||||
<a href="../../../Ameba/Rule/Style/RedundantBegin.html">RedundantBegin</a>
|
||||
|
||||
|
@ -814,7 +819,7 @@ For example, this is considered invalid:</p>
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/1818bcfd/src/ameba/rule/lint/unused_argument.cr#L27" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/unused_argument.cr#L27" target="_blank">
|
||||
ameba/rule/lint/unused_argument.cr
|
||||
</a>
|
||||
|
||||
|
@ -1168,7 +1173,7 @@ For example, this is considered invalid:</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/1818bcfd/src/ameba/rule/lint/unused_argument.cr#L27" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/unused_argument.cr#L27" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1433,7 +1438,7 @@ For example, this is considered invalid:</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/1818bcfd/src/ameba/rule/lint/unused_argument.cr#L43" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/unused_argument.cr#L43" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1449,7 +1454,7 @@ For example, this is considered invalid:</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/1818bcfd/src/ameba/rule/lint/unused_argument.cr#L47" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/unused_argument.cr#L47" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1465,7 +1470,7 @@ For example, this is considered invalid:</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/1818bcfd/src/ameba/rule/lint/unused_argument.cr#L51" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/unused_argument.cr#L51" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1481,7 +1486,7 @@ For example, this is considered invalid:</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/1818bcfd/src/ameba/rule/lint/unused_argument.cr#L39" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/unused_argument.cr#L39" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -591,6 +591,11 @@
|
|||
|
||||
</li>
|
||||
|
||||
<li class=" " data-id="ameba/Ameba/Rule/Style/QueryBoolMethods" data-name="ameba::rule::style::queryboolmethods">
|
||||
<a href="../../../Ameba/Rule/Style/QueryBoolMethods.html">QueryBoolMethods</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class=" " data-id="ameba/Ameba/Rule/Style/RedundantBegin" data-name="ameba::rule::style::redundantbegin">
|
||||
<a href="../../../Ameba/Rule/Style/RedundantBegin.html">RedundantBegin</a>
|
||||
|
||||
|
@ -813,7 +818,7 @@
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/1818bcfd/src/ameba/rule/lint/useless_assign.cr#L28" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/useless_assign.cr#L28" target="_blank">
|
||||
ameba/rule/lint/useless_assign.cr
|
||||
</a>
|
||||
|
||||
|
@ -1126,7 +1131,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/1818bcfd/src/ameba/rule/lint/useless_assign.cr#L28" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/useless_assign.cr#L28" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1307,7 +1312,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/1818bcfd/src/ameba/rule/lint/useless_assign.cr#L39" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/useless_assign.cr#L39" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1323,7 +1328,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/1818bcfd/src/ameba/rule/lint/useless_assign.cr#L35" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/useless_assign.cr#L35" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -591,6 +591,11 @@
|
|||
|
||||
</li>
|
||||
|
||||
<li class=" " data-id="ameba/Ameba/Rule/Style/QueryBoolMethods" data-name="ameba::rule::style::queryboolmethods">
|
||||
<a href="../../../Ameba/Rule/Style/QueryBoolMethods.html">QueryBoolMethods</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class=" " data-id="ameba/Ameba/Rule/Style/RedundantBegin" data-name="ameba::rule::style::redundantbegin">
|
||||
<a href="../../../Ameba/Rule/Style/RedundantBegin.html">RedundantBegin</a>
|
||||
|
||||
|
@ -818,7 +823,7 @@ where it is guaranteed to always return the same result.</p>
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/1818bcfd/src/ameba/rule/lint/useless_condition_in_when.cr#L33" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/useless_condition_in_when.cr#L33" target="_blank">
|
||||
ameba/rule/lint/useless_condition_in_when.cr
|
||||
</a>
|
||||
|
||||
|
@ -1131,7 +1136,7 @@ where it is guaranteed to always return the same result.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/1818bcfd/src/ameba/rule/lint/useless_condition_in_when.cr#L33" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/useless_condition_in_when.cr#L33" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1312,7 +1317,7 @@ where it is guaranteed to always return the same result.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/1818bcfd/src/ameba/rule/lint/useless_condition_in_when.cr#L50" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/useless_condition_in_when.cr#L50" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue