Deploying to gh-pages from @ crystal-ameba/ameba@5aac63ea74 🚀

This commit is contained in:
Sija 2023-11-17 17:15:30 +00:00
parent 4be0551946
commit f00425a866
147 changed files with 866 additions and 1206 deletions

View file

@ -955,7 +955,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/52a3e47/src/ameba/rule/performance/any_after_filter.cr#L29" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/5aac63e/src/ameba/rule/performance/any_after_filter.cr#L29" target="_blank">
ameba/rule/performance/any_after_filter.cr
</a>
@ -1442,7 +1442,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/52a3e47/src/ameba/rule/performance/any_after_filter.cr#L29" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/5aac63e/src/ameba/rule/performance/any_after_filter.cr#L29" target="_blank">View source</a>]
</div>
</div>
@ -1651,7 +1651,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/52a3e47/src/ameba/rule/performance/any_after_filter.cr#L39" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/5aac63e/src/ameba/rule/performance/any_after_filter.cr#L39" target="_blank">View source</a>]
</div>
</div>

View file

@ -953,7 +953,7 @@ one value present.</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/52a3e47/src/ameba/rule/performance/any_instead_of_empty.cr#L30" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/5aac63e/src/ameba/rule/performance/any_instead_of_empty.cr#L30" target="_blank">
ameba/rule/performance/any_instead_of_empty.cr
</a>
@ -1336,7 +1336,7 @@ one value present.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/52a3e47/src/ameba/rule/performance/any_instead_of_empty.cr#L30" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/5aac63e/src/ameba/rule/performance/any_instead_of_empty.cr#L30" target="_blank">View source</a>]
</div>
</div>
@ -1517,7 +1517,7 @@ one value present.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/52a3e47/src/ameba/rule/performance/any_instead_of_empty.cr#L37" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/5aac63e/src/ameba/rule/performance/any_instead_of_empty.cr#L37" target="_blank">View source</a>]
</div>
</div>

View file

@ -973,7 +973,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/52a3e47/src/ameba/rule/performance/base.cr#L5" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/5aac63e/src/ameba/rule/performance/base.cr#L5" target="_blank">
ameba/rule/performance/base.cr
</a>
@ -1211,7 +1211,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/52a3e47/src/ameba/rule/performance/base.cr#L5" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/5aac63e/src/ameba/rule/performance/base.cr#L5" target="_blank">View source</a>]
</div>
</div>
@ -1292,7 +1292,7 @@ source.valid?</code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/52a3e47/src/ameba/rule/performance/base.cr#L6" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/5aac63e/src/ameba/rule/performance/base.cr#L6" target="_blank">View source</a>]
</div>
</div>

View file

@ -965,7 +965,7 @@ chars <span class="o">=</span> names
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/52a3e47/src/ameba/rule/performance/chained_call_with_no_bang.cr#L39" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/5aac63e/src/ameba/rule/performance/chained_call_with_no_bang.cr#L39" target="_blank">
ameba/rule/performance/chained_call_with_no_bang.cr
</a>
@ -991,7 +991,7 @@ chars <span class="o">=</span> names
</dt>
<dd class="entry-const-doc">
<p>All these methods are allocating a new object</p>
<p>All these methods allocate a new object</p>
</dd>
@ -1486,7 +1486,7 @@ chars <span class="o">=</span> names
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/52a3e47/src/ameba/rule/performance/chained_call_with_no_bang.cr#L39" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/5aac63e/src/ameba/rule/performance/chained_call_with_no_bang.cr#L39" target="_blank">View source</a>]
</div>
</div>
@ -1695,7 +1695,7 @@ chars <span class="o">=</span> names
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/52a3e47/src/ameba/rule/performance/chained_call_with_no_bang.cr#L65" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/5aac63e/src/ameba/rule/performance/chained_call_with_no_bang.cr#L65" target="_blank">View source</a>]
</div>
</div>
@ -1711,7 +1711,7 @@ chars <span class="o">=</span> names
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/52a3e47/src/ameba/rule/performance/chained_call_with_no_bang.cr#L61" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/5aac63e/src/ameba/rule/performance/chained_call_with_no_bang.cr#L61" target="_blank">View source</a>]
</div>
</div>

View file

@ -950,7 +950,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/52a3e47/src/ameba/rule/performance/compact_after_map.cr#L24" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/5aac63e/src/ameba/rule/performance/compact_after_map.cr#L24" target="_blank">
ameba/rule/performance/compact_after_map.cr
</a>
@ -1422,7 +1422,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/52a3e47/src/ameba/rule/performance/compact_after_map.cr#L24" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/5aac63e/src/ameba/rule/performance/compact_after_map.cr#L24" target="_blank">View source</a>]
</div>
</div>
@ -1603,7 +1603,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/52a3e47/src/ameba/rule/performance/compact_after_map.cr#L37" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/5aac63e/src/ameba/rule/performance/compact_after_map.cr#L37" target="_blank">View source</a>]
</div>
</div>
@ -1619,7 +1619,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/52a3e47/src/ameba/rule/performance/compact_after_map.cr#L33" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/5aac63e/src/ameba/rule/performance/compact_after_map.cr#L33" target="_blank">View source</a>]
</div>
</div>

View file

@ -958,7 +958,7 @@ that can be avoided by using <code>each_&lt;member&gt;</code> instead of <code>&
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/52a3e47/src/ameba/rule/performance/excessive_allocations.cr#L32" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/5aac63e/src/ameba/rule/performance/excessive_allocations.cr#L32" target="_blank">
ameba/rule/performance/excessive_allocations.cr
</a>
@ -1456,7 +1456,7 @@ that can be avoided by using <code>each_&lt;member&gt;</code> instead of <code>&
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/52a3e47/src/ameba/rule/performance/excessive_allocations.cr#L32" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/5aac63e/src/ameba/rule/performance/excessive_allocations.cr#L32" target="_blank">View source</a>]
</div>
</div>
@ -1665,7 +1665,7 @@ that can be avoided by using <code>each_&lt;member&gt;</code> instead of <code>&
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/52a3e47/src/ameba/rule/performance/excessive_allocations.cr#L54" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/5aac63e/src/ameba/rule/performance/excessive_allocations.cr#L54" target="_blank">View source</a>]
</div>
</div>
@ -1681,7 +1681,7 @@ that can be avoided by using <code>each_&lt;member&gt;</code> instead of <code>&
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/52a3e47/src/ameba/rule/performance/excessive_allocations.cr#L50" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/5aac63e/src/ameba/rule/performance/excessive_allocations.cr#L50" target="_blank">View source</a>]
</div>
</div>

View file

@ -954,7 +954,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/52a3e47/src/ameba/rule/performance/first_last_after_filter.cr#L28" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/5aac63e/src/ameba/rule/performance/first_last_after_filter.cr#L28" target="_blank">
ameba/rule/performance/first_last_after_filter.cr
</a>
@ -1454,7 +1454,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/52a3e47/src/ameba/rule/performance/first_last_after_filter.cr#L28" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/5aac63e/src/ameba/rule/performance/first_last_after_filter.cr#L28" target="_blank">View source</a>]
</div>
</div>
@ -1663,7 +1663,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/52a3e47/src/ameba/rule/performance/first_last_after_filter.cr#L44" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/5aac63e/src/ameba/rule/performance/first_last_after_filter.cr#L45" target="_blank">View source</a>]
</div>
</div>
@ -1679,7 +1679,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/52a3e47/src/ameba/rule/performance/first_last_after_filter.cr#L40" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/5aac63e/src/ameba/rule/performance/first_last_after_filter.cr#L41" target="_blank">View source</a>]
</div>
</div>

View file

@ -950,7 +950,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/52a3e47/src/ameba/rule/performance/flatten_after_map.cr#L24" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/5aac63e/src/ameba/rule/performance/flatten_after_map.cr#L24" target="_blank">
ameba/rule/performance/flatten_after_map.cr
</a>
@ -1422,7 +1422,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/52a3e47/src/ameba/rule/performance/flatten_after_map.cr#L24" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/5aac63e/src/ameba/rule/performance/flatten_after_map.cr#L24" target="_blank">View source</a>]
</div>
</div>
@ -1603,7 +1603,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/52a3e47/src/ameba/rule/performance/flatten_after_map.cr#L37" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/5aac63e/src/ameba/rule/performance/flatten_after_map.cr#L37" target="_blank">View source</a>]
</div>
</div>
@ -1619,7 +1619,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/52a3e47/src/ameba/rule/performance/flatten_after_map.cr#L33" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/5aac63e/src/ameba/rule/performance/flatten_after_map.cr#L33" target="_blank">View source</a>]
</div>
</div>

View file

@ -951,7 +951,7 @@ that follow <code>map</code>.</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/52a3e47/src/ameba/rule/performance/map_instead_of_block.cr#L25" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/5aac63e/src/ameba/rule/performance/map_instead_of_block.cr#L25" target="_blank">
ameba/rule/performance/map_instead_of_block.cr
</a>
@ -977,11 +977,6 @@ that follow <code>map</code>.</p>
</dt>
<dt class="entry-const" id="MAP_NAME">
<strong>MAP_NAME</strong> = <code><span class="s">&quot;map&quot;</span></code>
</dt>
<dt class="entry-const" id="MSG">
<strong>MSG</strong> = <code><span class="s">&quot;Use `%s {...}` instead of `map {...}.%s`&quot;</span></code>
</dt>
@ -1435,7 +1430,7 @@ that follow <code>map</code>.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/52a3e47/src/ameba/rule/performance/map_instead_of_block.cr#L25" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/5aac63e/src/ameba/rule/performance/map_instead_of_block.cr#L25" target="_blank">View source</a>]
</div>
</div>
@ -1616,7 +1611,7 @@ that follow <code>map</code>.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/52a3e47/src/ameba/rule/performance/map_instead_of_block.cr#L40" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/5aac63e/src/ameba/rule/performance/map_instead_of_block.cr#L40" target="_blank">View source</a>]
</div>
</div>
@ -1632,7 +1627,7 @@ that follow <code>map</code>.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/52a3e47/src/ameba/rule/performance/map_instead_of_block.cr#L36" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/5aac63e/src/ameba/rule/performance/map_instead_of_block.cr#L36" target="_blank">View source</a>]
</div>
</div>

View file

@ -954,7 +954,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/52a3e47/src/ameba/rule/performance/minmax_after_map.cr#L28" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/5aac63e/src/ameba/rule/performance/minmax_after_map.cr#L28" target="_blank">
ameba/rule/performance/minmax_after_map.cr
</a>
@ -1439,7 +1439,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/52a3e47/src/ameba/rule/performance/minmax_after_map.cr#L28" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/5aac63e/src/ameba/rule/performance/minmax_after_map.cr#L28" target="_blank">View source</a>]
</div>
</div>
@ -1620,7 +1620,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/52a3e47/src/ameba/rule/performance/minmax_after_map.cr#L42" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/5aac63e/src/ameba/rule/performance/minmax_after_map.cr#L42" target="_blank">View source</a>]
</div>
</div>
@ -1636,7 +1636,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/52a3e47/src/ameba/rule/performance/minmax_after_map.cr#L38" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/5aac63e/src/ameba/rule/performance/minmax_after_map.cr#L38" target="_blank">View source</a>]
</div>
</div>

View file

@ -961,7 +961,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/52a3e47/src/ameba/rule/performance/size_after_filter.cr#L35" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/5aac63e/src/ameba/rule/performance/size_after_filter.cr#L35" target="_blank">
ameba/rule/performance/size_after_filter.cr
</a>
@ -1465,7 +1465,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/52a3e47/src/ameba/rule/performance/size_after_filter.cr#L35" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/5aac63e/src/ameba/rule/performance/size_after_filter.cr#L35" target="_blank">View source</a>]
</div>
</div>
@ -1674,7 +1674,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/52a3e47/src/ameba/rule/performance/size_after_filter.cr#L49" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/5aac63e/src/ameba/rule/performance/size_after_filter.cr#L49" target="_blank">View source</a>]
</div>
</div>
@ -1690,7 +1690,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/52a3e47/src/ameba/rule/performance/size_after_filter.cr#L45" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/5aac63e/src/ameba/rule/performance/size_after_filter.cr#L45" target="_blank">View source</a>]
</div>
</div>