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 @ crystal-ameba/ameba@3f1e925e07 🚀
This commit is contained in:
parent
01f1ed29a7
commit
54916047fe
140 changed files with 815 additions and 815 deletions
|
@ -957,7 +957,7 @@ ok</code></pre>
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/7ceb3ff/src/ameba/rule/style/guard_clause.cr#L54" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/3f1e925/src/ameba/rule/style/guard_clause.cr#L54" target="_blank">
|
||||
ameba/rule/style/guard_clause.cr
|
||||
</a>
|
||||
|
||||
|
@ -1405,7 +1405,7 @@ ok</code></pre>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/7ceb3ff/src/ameba/rule/style/guard_clause.cr#L54" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/3f1e925/src/ameba/rule/style/guard_clause.cr#L54" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1558,7 +1558,7 @@ ok</code></pre>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/7ceb3ff/src/ameba/rule/style/guard_clause.cr#L180" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/3f1e925/src/ameba/rule/style/guard_clause.cr#L180" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1602,7 +1602,7 @@ ok</code></pre>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/7ceb3ff/src/ameba/rule/style/guard_clause.cr#L71" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/3f1e925/src/ameba/rule/style/guard_clause.cr#L71" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1618,7 +1618,7 @@ ok</code></pre>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/7ceb3ff/src/ameba/rule/style/guard_clause.cr#L85" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/3f1e925/src/ameba/rule/style/guard_clause.cr#L85" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1634,7 +1634,7 @@ ok</code></pre>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/7ceb3ff/src/ameba/rule/style/guard_clause.cr#L65" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/3f1e925/src/ameba/rule/style/guard_clause.cr#L65" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -937,7 +937,7 @@ matches.one?(<span class="t">Nil</span>) <span class="c"># => tr
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/7ceb3ff/src/ameba/rule/style/is_a_filter.cr#L41" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/3f1e925/src/ameba/rule/style/is_a_filter.cr#L41" target="_blank">
|
||||
ameba/rule/style/is_a_filter.cr
|
||||
</a>
|
||||
|
||||
|
@ -1283,7 +1283,7 @@ matches.one?(<span class="t">Nil</span>) <span class="c"># => tr
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/7ceb3ff/src/ameba/rule/style/is_a_filter.cr#L41" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/3f1e925/src/ameba/rule/style/is_a_filter.cr#L41" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1492,7 +1492,7 @@ matches.one?(<span class="t">Nil</span>) <span class="c"># => tr
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/7ceb3ff/src/ameba/rule/style/is_a_filter.cr#L55" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/3f1e925/src/ameba/rule/style/is_a_filter.cr#L55" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1508,7 +1508,7 @@ matches.one?(<span class="t">Nil</span>) <span class="c"># => tr
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/7ceb3ff/src/ameba/rule/style/is_a_filter.cr#L51" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/3f1e925/src/ameba/rule/style/is_a_filter.cr#L51" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -920,7 +920,7 @@
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/7ceb3ff/src/ameba/rule/style/is_a_nil.cr#L22" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/3f1e925/src/ameba/rule/style/is_a_nil.cr#L22" target="_blank">
|
||||
ameba/rule/style/is_a_nil.cr
|
||||
</a>
|
||||
|
||||
|
@ -1316,7 +1316,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/7ceb3ff/src/ameba/rule/style/is_a_nil.cr#L22" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/3f1e925/src/ameba/rule/style/is_a_nil.cr#L22" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1497,7 +1497,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/7ceb3ff/src/ameba/rule/style/is_a_nil.cr#L31" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/3f1e925/src/ameba/rule/style/is_a_nil.cr#L31" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -925,7 +925,7 @@ large numbers more easily.</p>
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/7ceb3ff/src/ameba/rule/style/large_numbers.cr#L29" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/3f1e925/src/ameba/rule/style/large_numbers.cr#L29" target="_blank">
|
||||
ameba/rule/style/large_numbers.cr
|
||||
</a>
|
||||
|
||||
|
@ -1244,7 +1244,7 @@ large numbers more easily.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/7ceb3ff/src/ameba/rule/style/large_numbers.cr#L29" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/3f1e925/src/ameba/rule/style/large_numbers.cr#L29" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1453,7 +1453,7 @@ large numbers more easily.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/7ceb3ff/src/ameba/rule/style/large_numbers.cr#L38" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/3f1e925/src/ameba/rule/style/large_numbers.cr#L38" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -924,7 +924,7 @@ that is executed if a negated condition is NOT met.</p>
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/7ceb3ff/src/ameba/rule/style/negated_conditions_in_unless.cr#L29" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/3f1e925/src/ameba/rule/style/negated_conditions_in_unless.cr#L29" target="_blank">
|
||||
ameba/rule/style/negated_conditions_in_unless.cr
|
||||
</a>
|
||||
|
||||
|
@ -1232,7 +1232,7 @@ that is executed if a negated condition is NOT met.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/7ceb3ff/src/ameba/rule/style/negated_conditions_in_unless.cr#L29" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/3f1e925/src/ameba/rule/style/negated_conditions_in_unless.cr#L29" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1413,7 +1413,7 @@ that is executed if a negated condition is NOT met.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/7ceb3ff/src/ameba/rule/style/negated_conditions_in_unless.cr#L36" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/3f1e925/src/ameba/rule/style/negated_conditions_in_unless.cr#L36" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -925,7 +925,7 @@ around the condition of <code>if</code>, <code>unless</code>, <code>case</code>,
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/7ceb3ff/src/ameba/rule/style/parentheses_around_condition.cr#L29" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/3f1e925/src/ameba/rule/style/parentheses_around_condition.cr#L29" target="_blank">
|
||||
ameba/rule/style/parentheses_around_condition.cr
|
||||
</a>
|
||||
|
||||
|
@ -1259,7 +1259,7 @@ around the condition of <code>if</code>, <code>unless</code>, <code>case</code>,
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/7ceb3ff/src/ameba/rule/style/parentheses_around_condition.cr#L29" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/3f1e925/src/ameba/rule/style/parentheses_around_condition.cr#L29" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1496,7 +1496,7 @@ around the condition of <code>if</code>, <code>unless</code>, <code>case</code>,
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/7ceb3ff/src/ameba/rule/style/parentheses_around_condition.cr#L55" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/3f1e925/src/ameba/rule/style/parentheses_around_condition.cr#L55" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -949,7 +949,7 @@
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/7ceb3ff/src/ameba/rule/style/redundant_begin.cr#L58" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/3f1e925/src/ameba/rule/style/redundant_begin.cr#L58" target="_blank">
|
||||
ameba/rule/style/redundant_begin.cr
|
||||
</a>
|
||||
|
||||
|
@ -1374,7 +1374,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/7ceb3ff/src/ameba/rule/style/redundant_begin.cr#L58" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/3f1e925/src/ameba/rule/style/redundant_begin.cr#L58" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1555,7 +1555,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/7ceb3ff/src/ameba/rule/style/redundant_begin.cr#L67" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/3f1e925/src/ameba/rule/style/redundant_begin.cr#L67" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -984,7 +984,7 @@ without arguments. Sometimes such statements are used to yild the <code>nil</cod
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/7ceb3ff/src/ameba/rule/style/redundant_next.cr#L99" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/3f1e925/src/ameba/rule/style/redundant_next.cr#L99" target="_blank">
|
||||
ameba/rule/style/redundant_next.cr
|
||||
</a>
|
||||
|
||||
|
@ -1469,7 +1469,7 @@ without arguments. Sometimes such statements are used to yild the <code>nil</cod
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/7ceb3ff/src/ameba/rule/style/redundant_next.cr#L99" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/3f1e925/src/ameba/rule/style/redundant_next.cr#L99" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1706,7 +1706,7 @@ without arguments. Sometimes such statements are used to yild the <code>nil</cod
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/7ceb3ff/src/ameba/rule/style/redundant_next.cr#L115" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/3f1e925/src/ameba/rule/style/redundant_next.cr#L115" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1722,7 +1722,7 @@ without arguments. Sometimes such statements are used to yild the <code>nil</cod
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/7ceb3ff/src/ameba/rule/style/redundant_next.cr#L111" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/3f1e925/src/ameba/rule/style/redundant_next.cr#L111" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -981,7 +981,7 @@ without arguments. Sometimes such returns are used to return the <code>nil</code
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/7ceb3ff/src/ameba/rule/style/redundant_return.cr#L96" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/3f1e925/src/ameba/rule/style/redundant_return.cr#L96" target="_blank">
|
||||
ameba/rule/style/redundant_return.cr
|
||||
</a>
|
||||
|
||||
|
@ -1463,7 +1463,7 @@ without arguments. Sometimes such returns are used to return the <code>nil</code
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/7ceb3ff/src/ameba/rule/style/redundant_return.cr#L96" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/3f1e925/src/ameba/rule/style/redundant_return.cr#L96" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1700,7 +1700,7 @@ without arguments. Sometimes such returns are used to return the <code>nil</code
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/7ceb3ff/src/ameba/rule/style/redundant_return.cr#L112" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/3f1e925/src/ameba/rule/style/redundant_return.cr#L112" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1716,7 +1716,7 @@ without arguments. Sometimes such returns are used to return the <code>nil</code
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/7ceb3ff/src/ameba/rule/style/redundant_return.cr#L108" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/3f1e925/src/ameba/rule/style/redundant_return.cr#L108" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -937,7 +937,7 @@ an <code>if</code>, so the previous invalid example would become this:</p>
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/7ceb3ff/src/ameba/rule/style/unless_else.cr#L45" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/3f1e925/src/ameba/rule/style/unless_else.cr#L45" target="_blank">
|
||||
ameba/rule/style/unless_else.cr
|
||||
</a>
|
||||
|
||||
|
@ -1258,7 +1258,7 @@ an <code>if</code>, so the previous invalid example would become this:</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/7ceb3ff/src/ameba/rule/style/unless_else.cr#L45" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/3f1e925/src/ameba/rule/style/unless_else.cr#L45" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1439,7 +1439,7 @@ an <code>if</code>, so the previous invalid example would become this:</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/7ceb3ff/src/ameba/rule/style/unless_else.cr#L52" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/3f1e925/src/ameba/rule/style/unless_else.cr#L52" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -928,7 +928,7 @@ argument as a receiver, that can be collapsed into a short form.</p>
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/7ceb3ff/src/ameba/rule/style/verbose_block.cr#L30" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/3f1e925/src/ameba/rule/style/verbose_block.cr#L30" target="_blank">
|
||||
ameba/rule/style/verbose_block.cr
|
||||
</a>
|
||||
|
||||
|
@ -1407,7 +1407,7 @@ argument as a receiver, that can be collapsed into a short form.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/7ceb3ff/src/ameba/rule/style/verbose_block.cr#L30" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/3f1e925/src/ameba/rule/style/verbose_block.cr#L30" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1784,7 +1784,7 @@ argument as a receiver, that can be collapsed into a short form.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/7ceb3ff/src/ameba/rule/style/verbose_block.cr#L218" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/3f1e925/src/ameba/rule/style/verbose_block.cr#L218" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -924,7 +924,7 @@
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/7ceb3ff/src/ameba/rule/style/while_true.cr#L28" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/3f1e925/src/ameba/rule/style/while_true.cr#L28" target="_blank">
|
||||
ameba/rule/style/while_true.cr
|
||||
</a>
|
||||
|
||||
|
@ -1232,7 +1232,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/7ceb3ff/src/ameba/rule/style/while_true.cr#L28" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/3f1e925/src/ameba/rule/style/while_true.cr#L28" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1413,7 +1413,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/7ceb3ff/src/ameba/rule/style/while_true.cr#L35" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/3f1e925/src/ameba/rule/style/while_true.cr#L35" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue