Deploying to gh-pages from @ 80532da357 🚀

This commit is contained in:
veelenga 2022-10-14 18:10:09 +00:00
parent 5691d407a5
commit 017e9a8722
121 changed files with 1270 additions and 1270 deletions

View file

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="generator" content="Crystal Docs 1.4.1">
<meta name="generator" content="Crystal Docs 1.5.0">
<meta name="crystal_docs.project_version" content="master">
<meta name="crystal_docs.project_name" content="ameba">
@ -741,12 +741,12 @@ x <span class="o">=</span><span class="o">+</span> y
x <span class="o">=</span><span class="o">!</span> y
<span class="c"># good</span>
x -= y <span class="c"># or x = -y</span>
x += y <span class="c"># or x = +y</span>
x <span class="o">-=</span> y <span class="c"># or x = -y</span>
x <span class="o">+=</span> y <span class="c"># or x = +y</span>
x <span class="o">!=</span> y <span class="c"># or x = !y</span></code></pre>
<p>YAML configuration example:</p>
<pre><code class="language-crystal">Lint/AmbiguousAssignment:
Enabled: true</code></pre>
<pre><code class="language-crystal"><span class="t">Lint</span><span class="o">/</span><span class="t">AmbiguousAssignment</span>:
<span class="t">Enabled</span>: <span class="n">true</span></code></pre>
@ -789,7 +789,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/97acedae/src/ameba/rule/lint/ambiguous_assignment.cr#L20" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/80532da3/src/ameba/rule/lint/ambiguous_assignment.cr#L20" target="_blank">
ameba/rule/lint/ambiguous_assignment.cr
</a>
@ -811,7 +811,7 @@ x <span class="o">!=</span> y <span class="c"># or x = !y</span></code></pre>
<dl>
<dt class="entry-const" id="MISTAKES">
<strong>MISTAKES</strong> = <code>{<span class="s">&quot;=-&quot;</span> =&gt; <span class="s">&quot;-=&quot;</span>, <span class="s">&quot;=+&quot;</span> =&gt; <span class="s">&quot;+=&quot;</span>, <span class="s">&quot;=!&quot;</span> =&gt; <span class="s">&quot;!=&quot;</span>}</code>
<strong>MISTAKES</strong> = <code>{<span class="s">&quot;=-&quot;</span> <span class="o">=&gt;</span> <span class="s">&quot;-=&quot;</span>, <span class="s">&quot;=+&quot;</span> <span class="o">=&gt;</span> <span class="s">&quot;+=&quot;</span>, <span class="s">&quot;=!&quot;</span> <span class="o">=&gt;</span> <span class="s">&quot;!=&quot;</span>}</code>
</dt>
@ -1150,18 +1150,18 @@ x <span class="o">=</span><span class="o">+</span> y
x <span class="o">=</span><span class="o">!</span> y
<span class="c"># good</span>
x -= y <span class="c"># or x = -y</span>
x += y <span class="c"># or x = +y</span>
x <span class="o">-=</span> y <span class="c"># or x = -y</span>
x <span class="o">+=</span> y <span class="c"># or x = +y</span>
x <span class="o">!=</span> y <span class="c"># or x = !y</span></code></pre>
<p>YAML configuration example:</p>
<pre><code class="language-crystal">Lint/AmbiguousAssignment:
Enabled: true</code></pre>
<pre><code class="language-crystal"><span class="t">Lint</span><span class="o">/</span><span class="t">AmbiguousAssignment</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/97acedae/src/ameba/rule/lint/ambiguous_assignment.cr#L20" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/80532da3/src/ameba/rule/lint/ambiguous_assignment.cr#L20" target="_blank">View source</a>]
</div>
</div>
@ -1303,7 +1303,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/97acedae/src/ameba/rule/lint/ambiguous_assignment.cr#L35" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/80532da3/src/ameba/rule/lint/ambiguous_assignment.cr#L35" target="_blank">View source</a>]
</div>
</div>