Deploying to gh-pages from @ ae29754de5 🚀

This commit is contained in:
Sija 2022-03-08 11:21:07 +00:00
parent 31225906f7
commit 54e5c4e3ec
122 changed files with 1642 additions and 877 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.1.1">
<meta name="generator" content="Crystal Docs 1.2.2">
<meta name="crystal_docs.project_version" content="master">
<meta name="crystal_docs.project_name" content="ameba">
@ -736,9 +736,9 @@
<p>A rule that disallows duplicated keys in hash literals.</p>
<p>This is considered invalid:</p>
<pre><code class="language-crystal">h <span class="o">=</span> {<span class="s">&quot;foo&quot;</span> => <span class="n">1</span>, <span class="s">&quot;bar&quot;</span> => <span class="n">2</span>, <span class="s">&quot;foo&quot;</span> => <span class="n">3</span>}</code></pre>
<pre><code class="language-crystal">h <span class="o">=</span> {<span class="s">&quot;foo&quot;</span> =&gt; <span class="n">1</span>, <span class="s">&quot;bar&quot;</span> =&gt; <span class="n">2</span>, <span class="s">&quot;foo&quot;</span> =&gt; <span class="n">3</span>}</code></pre>
<p>And it has to written as this instead:</p>
<pre><code class="language-crystal">h <span class="o">=</span> {<span class="s">&quot;foo&quot;</span> => <span class="n">1</span>, <span class="s">&quot;bar&quot;</span> => <span class="n">2</span>}</code></pre>
<pre><code class="language-crystal">h <span class="o">=</span> {<span class="s">&quot;foo&quot;</span> =&gt; <span class="n">1</span>, <span class="s">&quot;bar&quot;</span> =&gt; <span class="n">2</span>}</code></pre>
<p>YAML configuration example:</p>
<pre><code class="language-crystal">Lint/HashDuplicatedKey:
Enabled: true</code></pre>
@ -782,7 +782,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/276b429e/src/ameba/rule/lint/hash_duplicated_key.cr#L22" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/ae29754d/src/ameba/rule/lint/hash_duplicated_key.cr#L22" target="_blank">
ameba/rule/lint/hash_duplicated_key.cr
</a>
@ -1054,9 +1054,9 @@
<p>A rule that disallows duplicated keys in hash literals.</p>
<p>This is considered invalid:</p>
<pre><code class="language-crystal">h <span class="o">=</span> {<span class="s">&quot;foo&quot;</span> => <span class="n">1</span>, <span class="s">&quot;bar&quot;</span> => <span class="n">2</span>, <span class="s">&quot;foo&quot;</span> => <span class="n">3</span>}</code></pre>
<pre><code class="language-crystal">h <span class="o">=</span> {<span class="s">&quot;foo&quot;</span> =&gt; <span class="n">1</span>, <span class="s">&quot;bar&quot;</span> =&gt; <span class="n">2</span>, <span class="s">&quot;foo&quot;</span> =&gt; <span class="n">3</span>}</code></pre>
<p>And it has to written as this instead:</p>
<pre><code class="language-crystal">h <span class="o">=</span> {<span class="s">&quot;foo&quot;</span> => <span class="n">1</span>, <span class="s">&quot;bar&quot;</span> => <span class="n">2</span>}</code></pre>
<pre><code class="language-crystal">h <span class="o">=</span> {<span class="s">&quot;foo&quot;</span> =&gt; <span class="n">1</span>, <span class="s">&quot;bar&quot;</span> =&gt; <span class="n">2</span>}</code></pre>
<p>YAML configuration example:</p>
<pre><code class="language-crystal">Lint/HashDuplicatedKey:
Enabled: true</code></pre>
@ -1065,7 +1065,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/276b429e/src/ameba/rule/lint/hash_duplicated_key.cr#L22" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/ae29754d/src/ameba/rule/lint/hash_duplicated_key.cr#L22" target="_blank">View source</a>]
</div>
</div>
@ -1207,7 +1207,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/276b429e/src/ameba/rule/lint/hash_duplicated_key.cr#L29" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/ae29754d/src/ameba/rule/lint/hash_duplicated_key.cr#L29" target="_blank">View source</a>]
</div>
</div>