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@801affc58b 🚀
This commit is contained in:
parent
34b3249805
commit
781b62ee52
127 changed files with 770 additions and 770 deletions
|
@ -780,7 +780,7 @@
|
|||
</h2>
|
||||
|
||||
<p>A rule that checks for the presence of superfluous parentheses
|
||||
around the condition of <code>if</code>, <code>unless</code>, <code>case,</code>while<code>and</code>until`.</p>
|
||||
around the condition of <code>if</code>, <code>unless</code>, <code>case</code>, <code>while</code> and <code>until</code>.</p>
|
||||
<p>For example, this is considered invalid:</p>
|
||||
<pre><code class="language-crystal"><span class="k">if</span> (foo <span class="o">==</span> <span class="n">42</span>)
|
||||
do_something
|
||||
|
@ -834,7 +834,7 @@ around the condition of <code>if</code>, <code>unless</code>, <code>case,</code>
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/6717ac7/src/ameba/rule/style/parentheses_around_condition.cr#L29" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/801affc/src/ameba/rule/style/parentheses_around_condition.cr#L29" target="_blank">
|
||||
ameba/rule/style/parentheses_around_condition.cr
|
||||
</a>
|
||||
|
||||
|
@ -887,7 +887,7 @@ around the condition of <code>if</code>, <code>unless</code>, <code>case,</code>
|
|||
<li class="entry-summary">
|
||||
<a href="#new%28config%3Dnil%29-class-method" class="signature"><strong>.new</strong>(config = <span class="n">nil</span>)</a>
|
||||
|
||||
<div class="summary"><p>A rule that checks for the presence of superfluous parentheses around the condition of <code>if</code>, <code>unless</code>, <code>case,</code>while<code>and</code>until`.</p></div>
|
||||
<div class="summary"><p>A rule that checks for the presence of superfluous parentheses around the condition of <code>if</code>, <code>unless</code>, <code>case</code>, <code>while</code> and <code>until</code>.</p></div>
|
||||
|
||||
</li>
|
||||
|
||||
|
@ -1149,7 +1149,7 @@ around the condition of <code>if</code>, <code>unless</code>, <code>case,</code>
|
|||
<div class="doc">
|
||||
|
||||
<p>A rule that checks for the presence of superfluous parentheses
|
||||
around the condition of <code>if</code>, <code>unless</code>, <code>case,</code>while<code>and</code>until`.</p>
|
||||
around the condition of <code>if</code>, <code>unless</code>, <code>case</code>, <code>while</code> and <code>until</code>.</p>
|
||||
<p>For example, this is considered invalid:</p>
|
||||
<pre><code class="language-crystal"><span class="k">if</span> (foo <span class="o">==</span> <span class="n">42</span>)
|
||||
do_something
|
||||
|
@ -1168,7 +1168,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/6717ac7/src/ameba/rule/style/parentheses_around_condition.cr#L29" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/801affc/src/ameba/rule/style/parentheses_around_condition.cr#L29" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1405,7 +1405,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/6717ac7/src/ameba/rule/style/parentheses_around_condition.cr#L55" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/801affc/src/ameba/rule/style/parentheses_around_condition.cr#L55" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue