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 @ 4533e52aa5
🚀
This commit is contained in:
parent
2350a89133
commit
76aad1519b
125 changed files with 933 additions and 986 deletions
|
@ -771,7 +771,7 @@ which is redundant.</p>
|
|||
<p>And this is valid:</p>
|
||||
<pre><code class="language-crystal"><span class="s">"Hello, </span><span class="i">#{</span>name<span class="i">}</span><span class="s">"</span></code></pre>
|
||||
<p>YAML configuration example:</p>
|
||||
<pre><code class="language-crystal"><span class="t">Lint</span><span class="o">/</span><span class="t">RedundantStringCoersion</span>
|
||||
<pre><code class="language-crystal"><span class="t">Lint</span><span class="o">/</span><span class="t">RedundantStringCoercion</span>
|
||||
<span class="t">Enabled</span>: <span class="n">true</span></code></pre>
|
||||
|
||||
|
||||
|
@ -815,7 +815,7 @@ which is redundant.</p>
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/redundant_string_coercion.cr#L23" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/redundant_string_coercion.cr#L23" target="_blank">
|
||||
ameba/rule/lint/redundant_string_coercion.cr
|
||||
</a>
|
||||
|
||||
|
@ -970,8 +970,8 @@ which is redundant.</p>
|
|||
control_exp_code</a>,
|
||||
|
||||
|
||||
<a href="../../../Ameba/AST/Util.html#dynamic_literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
|
||||
<span>dynamic_literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
|
||||
<a href="../../../Ameba/AST/Util.html#dynamic_literal%3F%28node%29%3ABool-instance-method" class="tooltip">
|
||||
<span>dynamic_literal?(node) : Bool</span>
|
||||
dynamic_literal?</a>,
|
||||
|
||||
|
||||
|
@ -990,8 +990,8 @@ which is redundant.</p>
|
|||
flow_expression?</a>,
|
||||
|
||||
|
||||
<a href="../../../Ameba/AST/Util.html#literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
|
||||
<span>literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
|
||||
<a href="../../../Ameba/AST/Util.html#literal%3F%28node%29%3ABool-instance-method" class="tooltip">
|
||||
<span>literal?(node) : Bool</span>
|
||||
literal?</a>,
|
||||
|
||||
|
||||
|
@ -1035,8 +1035,8 @@ which is redundant.</p>
|
|||
source_between</a>,
|
||||
|
||||
|
||||
<a href="../../../Ameba/AST/Util.html#static_literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
|
||||
<span>static_literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
|
||||
<a href="../../../Ameba/AST/Util.html#static_literal%3F%28node%29%3ABool-instance-method" class="tooltip">
|
||||
<span>static_literal?(node) : Bool</span>
|
||||
static_literal?</a>
|
||||
|
||||
|
||||
|
@ -1205,14 +1205,14 @@ which is redundant.</p>
|
|||
<p>And this is valid:</p>
|
||||
<pre><code class="language-crystal"><span class="s">"Hello, </span><span class="i">#{</span>name<span class="i">}</span><span class="s">"</span></code></pre>
|
||||
<p>YAML configuration example:</p>
|
||||
<pre><code class="language-crystal"><span class="t">Lint</span><span class="o">/</span><span class="t">RedundantStringCoersion</span>
|
||||
<pre><code class="language-crystal"><span class="t">Lint</span><span class="o">/</span><span class="t">RedundantStringCoercion</span>
|
||||
<span class="t">Enabled</span>: <span class="n">true</span></code></pre>
|
||||
</div>
|
||||
|
||||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/redundant_string_coercion.cr#L23" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/redundant_string_coercion.cr#L23" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1393,7 +1393,7 @@ which is redundant.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/redundant_string_coercion.cr#L32" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/redundant_string_coercion.cr#L32" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue