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@b6bd74e02f 🚀
This commit is contained in:
parent
18e2b53b9f
commit
97f4d31b25
148 changed files with 5530 additions and 2105 deletions
|
@ -4,7 +4,7 @@
|
|||
<meta charset="utf-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="generator" content="Crystal Docs 1.9.2">
|
||||
<meta name="generator" content="Crystal Docs 1.10.1">
|
||||
<meta name="crystal_docs.project_version" content="master">
|
||||
<meta name="crystal_docs.project_name" content="ameba">
|
||||
|
||||
|
@ -964,7 +964,7 @@
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/naming/accessor_method_name.cr#L38" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/naming/accessor_method_name.cr#L38" target="_blank">
|
||||
ameba/rule/naming/accessor_method_name.cr
|
||||
</a>
|
||||
|
||||
|
@ -1041,6 +1041,8 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
<h2>
|
||||
<a id="instance-method-summary" class="anchor" href="#instance-method-summary">
|
||||
<svg class="octicon-link" aria-hidden="true">
|
||||
|
@ -1105,8 +1107,6 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="methods-inherited">
|
||||
|
||||
|
||||
|
@ -1116,6 +1116,9 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1124,6 +1127,9 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1191,7 +1197,44 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
<h3>Macros inherited from class <code><a href="../../../Ameba/Rule/Base.html">Ameba::Rule::Base</a></code></h3>
|
||||
|
||||
|
||||
<a href="../../../Ameba/Rule/Base.html#issue_for%28%2Aargs%2C%2A%2Akwargs%2C%26block%29-macro" class="tooltip">
|
||||
<span>issue_for(*args, **kwargs, &block)</span>
|
||||
issue_for</a>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h3>Macros inherited from module <code>Ameba::Config::RuleConfig</code></h3>
|
||||
|
||||
|
||||
<a href="../../../Ameba/Config/RuleConfig.html#properties%28%26block%29-macro" class="tooltip">
|
||||
<span>properties(&block)</span>
|
||||
properties</a>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1205,13 +1248,6 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1287,7 +1323,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/naming/accessor_method_name.cr#L38" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/naming/accessor_method_name.cr#L38" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1336,6 +1372,8 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
<h2>
|
||||
<a id="instance-method-detail" class="anchor" href="#instance-method-detail">
|
||||
<svg class="octicon-link" aria-hidden="true">
|
||||
|
@ -1468,7 +1506,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/naming/accessor_method_name.cr#L45" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/naming/accessor_method_name.cr#L45" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1484,15 +1522,13 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/naming/accessor_method_name.cr#L61" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/naming/accessor_method_name.cr#L61" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</body>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<meta charset="utf-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="generator" content="Crystal Docs 1.9.2">
|
||||
<meta name="generator" content="Crystal Docs 1.10.1">
|
||||
<meta name="crystal_docs.project_version" content="master">
|
||||
<meta name="crystal_docs.project_name" content="ameba">
|
||||
|
||||
|
@ -951,7 +951,7 @@
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/naming/ascii_identifiers.cr#L25" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/naming/ascii_identifiers.cr#L25" target="_blank">
|
||||
ameba/rule/naming/ascii_identifiers.cr
|
||||
</a>
|
||||
|
||||
|
@ -1028,6 +1028,8 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
<h2>
|
||||
<a id="instance-method-summary" class="anchor" href="#instance-method-summary">
|
||||
<svg class="octicon-link" aria-hidden="true">
|
||||
|
@ -1122,8 +1124,6 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="methods-inherited">
|
||||
|
||||
|
||||
|
@ -1133,6 +1133,9 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1141,6 +1144,9 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1208,7 +1214,44 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
<h3>Macros inherited from class <code><a href="../../../Ameba/Rule/Base.html">Ameba::Rule::Base</a></code></h3>
|
||||
|
||||
|
||||
<a href="../../../Ameba/Rule/Base.html#issue_for%28%2Aargs%2C%2A%2Akwargs%2C%26block%29-macro" class="tooltip">
|
||||
<span>issue_for(*args, **kwargs, &block)</span>
|
||||
issue_for</a>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h3>Macros inherited from module <code>Ameba::Config::RuleConfig</code></h3>
|
||||
|
||||
|
||||
<a href="../../../Ameba/Config/RuleConfig.html#properties%28%26block%29-macro" class="tooltip">
|
||||
<span>properties(&block)</span>
|
||||
properties</a>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1222,13 +1265,6 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1291,7 +1327,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/naming/ascii_identifiers.cr#L25" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/naming/ascii_identifiers.cr#L25" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1340,6 +1376,8 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
<h2>
|
||||
<a id="instance-method-detail" class="anchor" href="#instance-method-detail">
|
||||
<svg class="octicon-link" aria-hidden="true">
|
||||
|
@ -1500,7 +1538,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/naming/ascii_identifiers.cr#L33" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/naming/ascii_identifiers.cr#L33" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1516,7 +1554,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/naming/ascii_identifiers.cr#L40" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/naming/ascii_identifiers.cr#L40" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1532,7 +1570,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/naming/ascii_identifiers.cr#L46" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/naming/ascii_identifiers.cr#L46" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1548,7 +1586,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/naming/ascii_identifiers.cr#L55" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/naming/ascii_identifiers.cr#L55" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1564,7 +1602,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/naming/ascii_identifiers.cr#L64" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/naming/ascii_identifiers.cr#L64" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1580,15 +1618,13 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/naming/ascii_identifiers.cr#L68" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/naming/ascii_identifiers.cr#L68" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</body>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<meta charset="utf-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="generator" content="Crystal Docs 1.9.2">
|
||||
<meta name="generator" content="Crystal Docs 1.10.1">
|
||||
<meta name="crystal_docs.project_version" content="master">
|
||||
<meta name="crystal_docs.project_name" content="ameba">
|
||||
|
||||
|
@ -956,7 +956,7 @@ their sole parameter named <code>other</code>.</p>
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/naming/binary_operator_parameter_name.cr#L30" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/naming/binary_operator_parameter_name.cr#L30" target="_blank">
|
||||
ameba/rule/naming/binary_operator_parameter_name.cr
|
||||
</a>
|
||||
|
||||
|
@ -1033,6 +1033,8 @@ their sole parameter named <code>other</code>.</p>
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
<h2>
|
||||
<a id="instance-method-summary" class="anchor" href="#instance-method-summary">
|
||||
<svg class="octicon-link" aria-hidden="true">
|
||||
|
@ -1102,8 +1104,6 @@ their sole parameter named <code>other</code>.</p>
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="methods-inherited">
|
||||
|
||||
|
||||
|
@ -1113,6 +1113,9 @@ their sole parameter named <code>other</code>.</p>
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1121,6 +1124,9 @@ their sole parameter named <code>other</code>.</p>
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1188,7 +1194,44 @@ their sole parameter named <code>other</code>.</p>
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
<h3>Macros inherited from class <code><a href="../../../Ameba/Rule/Base.html">Ameba::Rule::Base</a></code></h3>
|
||||
|
||||
|
||||
<a href="../../../Ameba/Rule/Base.html#issue_for%28%2Aargs%2C%2A%2Akwargs%2C%26block%29-macro" class="tooltip">
|
||||
<span>issue_for(*args, **kwargs, &block)</span>
|
||||
issue_for</a>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h3>Macros inherited from module <code>Ameba::Config::RuleConfig</code></h3>
|
||||
|
||||
|
||||
<a href="../../../Ameba/Config/RuleConfig.html#properties%28%26block%29-macro" class="tooltip">
|
||||
<span>properties(&block)</span>
|
||||
properties</a>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1202,13 +1245,6 @@ their sole parameter named <code>other</code>.</p>
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1276,7 +1312,7 @@ their sole parameter named <code>other</code>.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/naming/binary_operator_parameter_name.cr#L30" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/naming/binary_operator_parameter_name.cr#L30" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1325,6 +1361,8 @@ their sole parameter named <code>other</code>.</p>
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
<h2>
|
||||
<a id="instance-method-detail" class="anchor" href="#instance-method-detail">
|
||||
<svg class="octicon-link" aria-hidden="true">
|
||||
|
@ -1485,15 +1523,13 @@ their sole parameter named <code>other</code>.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/naming/binary_operator_parameter_name.cr#L39" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/naming/binary_operator_parameter_name.cr#L39" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</body>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<meta charset="utf-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="generator" content="Crystal Docs 1.9.2">
|
||||
<meta name="generator" content="Crystal Docs 1.10.1">
|
||||
<meta name="crystal_docs.project_version" content="master">
|
||||
<meta name="crystal_docs.project_name" content="ameba">
|
||||
|
||||
|
@ -952,7 +952,7 @@
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/naming/block_parameter_name.cr#L26" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/naming/block_parameter_name.cr#L26" target="_blank">
|
||||
ameba/rule/naming/block_parameter_name.cr
|
||||
</a>
|
||||
|
||||
|
@ -1029,6 +1029,8 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
<h2>
|
||||
<a id="instance-method-summary" class="anchor" href="#instance-method-summary">
|
||||
<svg class="octicon-link" aria-hidden="true">
|
||||
|
@ -1128,8 +1130,6 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="methods-inherited">
|
||||
|
||||
|
||||
|
@ -1139,6 +1139,9 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1147,6 +1150,9 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1214,7 +1220,44 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
<h3>Macros inherited from class <code><a href="../../../Ameba/Rule/Base.html">Ameba::Rule::Base</a></code></h3>
|
||||
|
||||
|
||||
<a href="../../../Ameba/Rule/Base.html#issue_for%28%2Aargs%2C%2A%2Akwargs%2C%26block%29-macro" class="tooltip">
|
||||
<span>issue_for(*args, **kwargs, &block)</span>
|
||||
issue_for</a>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h3>Macros inherited from module <code>Ameba::Config::RuleConfig</code></h3>
|
||||
|
||||
|
||||
<a href="../../../Ameba/Config/RuleConfig.html#properties%28%26block%29-macro" class="tooltip">
|
||||
<span>properties(&block)</span>
|
||||
properties</a>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1228,13 +1271,6 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1298,7 +1334,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/naming/block_parameter_name.cr#L26" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/naming/block_parameter_name.cr#L26" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1347,6 +1383,8 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
<h2>
|
||||
<a id="instance-method-detail" class="anchor" href="#instance-method-detail">
|
||||
<svg class="octicon-link" aria-hidden="true">
|
||||
|
@ -1591,15 +1629,13 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/naming/block_parameter_name.cr#L37" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/naming/block_parameter_name.cr#L37" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</body>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<meta charset="utf-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="generator" content="Crystal Docs 1.9.2">
|
||||
<meta name="generator" content="Crystal Docs 1.10.1">
|
||||
<meta name="crystal_docs.project_version" content="master">
|
||||
<meta name="crystal_docs.project_name" content="ameba">
|
||||
|
||||
|
@ -950,7 +950,7 @@
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/naming/constant_names.cr#L24" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/naming/constant_names.cr#L24" target="_blank">
|
||||
ameba/rule/naming/constant_names.cr
|
||||
</a>
|
||||
|
||||
|
@ -1027,6 +1027,8 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
<h2>
|
||||
<a id="instance-method-summary" class="anchor" href="#instance-method-summary">
|
||||
<svg class="octicon-link" aria-hidden="true">
|
||||
|
@ -1086,8 +1088,6 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="methods-inherited">
|
||||
|
||||
|
||||
|
@ -1097,6 +1097,9 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1105,6 +1108,9 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1172,7 +1178,44 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
<h3>Macros inherited from class <code><a href="../../../Ameba/Rule/Base.html">Ameba::Rule::Base</a></code></h3>
|
||||
|
||||
|
||||
<a href="../../../Ameba/Rule/Base.html#issue_for%28%2Aargs%2C%2A%2Akwargs%2C%26block%29-macro" class="tooltip">
|
||||
<span>issue_for(*args, **kwargs, &block)</span>
|
||||
issue_for</a>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h3>Macros inherited from module <code>Ameba::Config::RuleConfig</code></h3>
|
||||
|
||||
|
||||
<a href="../../../Ameba/Config/RuleConfig.html#properties%28%26block%29-macro" class="tooltip">
|
||||
<span>properties(&block)</span>
|
||||
properties</a>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1186,13 +1229,6 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1254,7 +1290,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/naming/constant_names.cr#L24" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/naming/constant_names.cr#L24" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1303,6 +1339,8 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
<h2>
|
||||
<a id="instance-method-detail" class="anchor" href="#instance-method-detail">
|
||||
<svg class="octicon-link" aria-hidden="true">
|
||||
|
@ -1435,15 +1473,13 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/naming/constant_names.cr#L31" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/naming/constant_names.cr#L31" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</body>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<meta charset="utf-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="generator" content="Crystal Docs 1.9.2">
|
||||
<meta name="generator" content="Crystal Docs 1.10.1">
|
||||
<meta name="crystal_docs.project_version" content="master">
|
||||
<meta name="crystal_docs.project_name" content="ameba">
|
||||
|
||||
|
@ -944,7 +944,7 @@
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/naming/filename.cr#L10" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/naming/filename.cr#L10" target="_blank">
|
||||
ameba/rule/naming/filename.cr
|
||||
</a>
|
||||
|
||||
|
@ -1021,6 +1021,8 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
<h2>
|
||||
<a id="instance-method-summary" class="anchor" href="#instance-method-summary">
|
||||
<svg class="octicon-link" aria-hidden="true">
|
||||
|
@ -1082,8 +1084,6 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="methods-inherited">
|
||||
|
||||
|
||||
|
@ -1093,6 +1093,9 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1101,6 +1104,9 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1168,7 +1174,44 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
<h3>Macros inherited from class <code><a href="../../../Ameba/Rule/Base.html">Ameba::Rule::Base</a></code></h3>
|
||||
|
||||
|
||||
<a href="../../../Ameba/Rule/Base.html#issue_for%28%2Aargs%2C%2A%2Akwargs%2C%26block%29-macro" class="tooltip">
|
||||
<span>issue_for(*args, **kwargs, &block)</span>
|
||||
issue_for</a>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h3>Macros inherited from module <code>Ameba::Config::RuleConfig</code></h3>
|
||||
|
||||
|
||||
<a href="../../../Ameba/Config/RuleConfig.html#properties%28%26block%29-macro" class="tooltip">
|
||||
<span>properties(&block)</span>
|
||||
properties</a>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1182,13 +1225,6 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1244,7 +1280,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/naming/filename.cr#L10" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/naming/filename.cr#L10" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1293,6 +1329,8 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
<h2>
|
||||
<a id="instance-method-detail" class="anchor" href="#instance-method-detail">
|
||||
<svg class="octicon-link" aria-hidden="true">
|
||||
|
@ -1430,22 +1468,20 @@
|
|||
|
||||
<p>This method is designed to test the source passed in. If source has issues
|
||||
that are tested by this rule, it should add an issue.</p>
|
||||
<p>Be default it uses a node visitor to traverse all the nodes in the source.</p>
|
||||
<p>By default it uses a node visitor to traverse all the nodes in the source.</p>
|
||||
<p><span class="flag purple">NOTE</span> Must be overridden for other type of rules.</p>
|
||||
</div>
|
||||
|
||||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/naming/filename.cr#L19" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/naming/filename.cr#L19" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</body>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<meta charset="utf-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="generator" content="Crystal Docs 1.9.2">
|
||||
<meta name="generator" content="Crystal Docs 1.10.1">
|
||||
<meta name="crystal_docs.project_version" content="master">
|
||||
<meta name="crystal_docs.project_name" content="ameba">
|
||||
|
||||
|
@ -966,7 +966,7 @@
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/naming/method_names.cr#L40" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/naming/method_names.cr#L40" target="_blank">
|
||||
ameba/rule/naming/method_names.cr
|
||||
</a>
|
||||
|
||||
|
@ -1043,6 +1043,8 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
<h2>
|
||||
<a id="instance-method-summary" class="anchor" href="#instance-method-summary">
|
||||
<svg class="octicon-link" aria-hidden="true">
|
||||
|
@ -1102,8 +1104,6 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="methods-inherited">
|
||||
|
||||
|
||||
|
@ -1113,6 +1113,9 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1121,6 +1124,9 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1188,7 +1194,44 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
<h3>Macros inherited from class <code><a href="../../../Ameba/Rule/Base.html">Ameba::Rule::Base</a></code></h3>
|
||||
|
||||
|
||||
<a href="../../../Ameba/Rule/Base.html#issue_for%28%2Aargs%2C%2A%2Akwargs%2C%26block%29-macro" class="tooltip">
|
||||
<span>issue_for(*args, **kwargs, &block)</span>
|
||||
issue_for</a>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h3>Macros inherited from module <code>Ameba::Config::RuleConfig</code></h3>
|
||||
|
||||
|
||||
<a href="../../../Ameba/Config/RuleConfig.html#properties%28%26block%29-macro" class="tooltip">
|
||||
<span>properties(&block)</span>
|
||||
properties</a>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1202,13 +1245,6 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1286,7 +1322,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/naming/method_names.cr#L40" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/naming/method_names.cr#L40" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1335,6 +1371,8 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
<h2>
|
||||
<a id="instance-method-detail" class="anchor" href="#instance-method-detail">
|
||||
<svg class="octicon-link" aria-hidden="true">
|
||||
|
@ -1467,15 +1505,13 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/naming/method_names.cr#L47" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/naming/method_names.cr#L47" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</body>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<meta charset="utf-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="generator" content="Crystal Docs 1.9.2">
|
||||
<meta name="generator" content="Crystal Docs 1.10.1">
|
||||
<meta name="crystal_docs.project_version" content="master">
|
||||
<meta name="crystal_docs.project_name" content="ameba">
|
||||
|
||||
|
@ -952,7 +952,7 @@ the ones that are not valid Crystal code (e.g. <code>is_404?</code>).</p>
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/naming/predicate_name.cr#L26" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/naming/predicate_name.cr#L26" target="_blank">
|
||||
ameba/rule/naming/predicate_name.cr
|
||||
</a>
|
||||
|
||||
|
@ -1029,6 +1029,8 @@ the ones that are not valid Crystal code (e.g. <code>is_404?</code>).</p>
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
<h2>
|
||||
<a id="instance-method-summary" class="anchor" href="#instance-method-summary">
|
||||
<svg class="octicon-link" aria-hidden="true">
|
||||
|
@ -1088,8 +1090,6 @@ the ones that are not valid Crystal code (e.g. <code>is_404?</code>).</p>
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="methods-inherited">
|
||||
|
||||
|
||||
|
@ -1099,6 +1099,9 @@ the ones that are not valid Crystal code (e.g. <code>is_404?</code>).</p>
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1107,6 +1110,9 @@ the ones that are not valid Crystal code (e.g. <code>is_404?</code>).</p>
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1174,7 +1180,44 @@ the ones that are not valid Crystal code (e.g. <code>is_404?</code>).</p>
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
<h3>Macros inherited from class <code><a href="../../../Ameba/Rule/Base.html">Ameba::Rule::Base</a></code></h3>
|
||||
|
||||
|
||||
<a href="../../../Ameba/Rule/Base.html#issue_for%28%2Aargs%2C%2A%2Akwargs%2C%26block%29-macro" class="tooltip">
|
||||
<span>issue_for(*args, **kwargs, &block)</span>
|
||||
issue_for</a>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h3>Macros inherited from module <code>Ameba::Config::RuleConfig</code></h3>
|
||||
|
||||
|
||||
<a href="../../../Ameba/Config/RuleConfig.html#properties%28%26block%29-macro" class="tooltip">
|
||||
<span>properties(&block)</span>
|
||||
properties</a>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1188,13 +1231,6 @@ the ones that are not valid Crystal code (e.g. <code>is_404?</code>).</p>
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1258,7 +1294,7 @@ the ones that are not valid Crystal code (e.g. <code>is_404?</code>).</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/naming/predicate_name.cr#L26" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/naming/predicate_name.cr#L26" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1307,6 +1343,8 @@ the ones that are not valid Crystal code (e.g. <code>is_404?</code>).</p>
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
<h2>
|
||||
<a id="instance-method-detail" class="anchor" href="#instance-method-detail">
|
||||
<svg class="octicon-link" aria-hidden="true">
|
||||
|
@ -1439,15 +1477,13 @@ the ones that are not valid Crystal code (e.g. <code>is_404?</code>).</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/naming/predicate_name.cr#L33" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/naming/predicate_name.cr#L33" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</body>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<meta charset="utf-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="generator" content="Crystal Docs 1.9.2">
|
||||
<meta name="generator" content="Crystal Docs 1.10.1">
|
||||
<meta name="crystal_docs.project_version" content="master">
|
||||
<meta name="crystal_docs.project_name" content="ameba">
|
||||
|
||||
|
@ -957,7 +957,7 @@ using <code>Object#(class_)property</code> or <code>Object#(class_)getter</code>
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/naming/query_bool_methods.cr#L29" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/naming/query_bool_methods.cr#L29" target="_blank">
|
||||
ameba/rule/naming/query_bool_methods.cr
|
||||
</a>
|
||||
|
||||
|
@ -1039,6 +1039,8 @@ using <code>Object#(class_)property</code> or <code>Object#(class_)getter</code>
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
<h2>
|
||||
<a id="instance-method-summary" class="anchor" href="#instance-method-summary">
|
||||
<svg class="octicon-link" aria-hidden="true">
|
||||
|
@ -1098,8 +1100,6 @@ using <code>Object#(class_)property</code> or <code>Object#(class_)getter</code>
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="methods-inherited">
|
||||
|
||||
|
||||
|
@ -1195,6 +1195,9 @@ using <code>Object#(class_)property</code> or <code>Object#(class_)getter</code>
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1202,6 +1205,9 @@ using <code>Object#(class_)property</code> or <code>Object#(class_)getter</code>
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1211,6 +1217,9 @@ using <code>Object#(class_)property</code> or <code>Object#(class_)getter</code>
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1278,7 +1287,44 @@ using <code>Object#(class_)property</code> or <code>Object#(class_)getter</code>
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
<h3>Macros inherited from class <code><a href="../../../Ameba/Rule/Base.html">Ameba::Rule::Base</a></code></h3>
|
||||
|
||||
|
||||
<a href="../../../Ameba/Rule/Base.html#issue_for%28%2Aargs%2C%2A%2Akwargs%2C%26block%29-macro" class="tooltip">
|
||||
<span>issue_for(*args, **kwargs, &block)</span>
|
||||
issue_for</a>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h3>Macros inherited from module <code>Ameba::Config::RuleConfig</code></h3>
|
||||
|
||||
|
||||
<a href="../../../Ameba/Config/RuleConfig.html#properties%28%26block%29-macro" class="tooltip">
|
||||
<span>properties(&block)</span>
|
||||
properties</a>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1292,13 +1338,6 @@ using <code>Object#(class_)property</code> or <code>Object#(class_)getter</code>
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1365,7 +1404,7 @@ using <code>Object#(class_)property</code> or <code>Object#(class_)getter</code>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/naming/query_bool_methods.cr#L29" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/naming/query_bool_methods.cr#L29" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1414,6 +1453,8 @@ using <code>Object#(class_)property</code> or <code>Object#(class_)getter</code>
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
<h2>
|
||||
<a id="instance-method-detail" class="anchor" href="#instance-method-detail">
|
||||
<svg class="octicon-link" aria-hidden="true">
|
||||
|
@ -1546,15 +1587,13 @@ using <code>Object#(class_)property</code> or <code>Object#(class_)getter</code>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/naming/query_bool_methods.cr#L40" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/naming/query_bool_methods.cr#L40" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</body>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<meta charset="utf-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="generator" content="Crystal Docs 1.9.2">
|
||||
<meta name="generator" content="Crystal Docs 1.10.1">
|
||||
<meta name="crystal_docs.project_version" content="master">
|
||||
<meta name="crystal_docs.project_name" content="ameba">
|
||||
|
||||
|
@ -957,7 +957,7 @@
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/naming/rescued_exceptions_variable_name.cr#L27" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/naming/rescued_exceptions_variable_name.cr#L27" target="_blank">
|
||||
ameba/rule/naming/rescued_exceptions_variable_name.cr
|
||||
</a>
|
||||
|
||||
|
@ -1039,6 +1039,8 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
<h2>
|
||||
<a id="instance-method-summary" class="anchor" href="#instance-method-summary">
|
||||
<svg class="octicon-link" aria-hidden="true">
|
||||
|
@ -1108,8 +1110,6 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="methods-inherited">
|
||||
|
||||
|
||||
|
@ -1119,6 +1119,9 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1127,6 +1130,9 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1194,7 +1200,44 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
<h3>Macros inherited from class <code><a href="../../../Ameba/Rule/Base.html">Ameba::Rule::Base</a></code></h3>
|
||||
|
||||
|
||||
<a href="../../../Ameba/Rule/Base.html#issue_for%28%2Aargs%2C%2A%2Akwargs%2C%26block%29-macro" class="tooltip">
|
||||
<span>issue_for(*args, **kwargs, &block)</span>
|
||||
issue_for</a>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h3>Macros inherited from module <code>Ameba::Config::RuleConfig</code></h3>
|
||||
|
||||
|
||||
<a href="../../../Ameba/Config/RuleConfig.html#properties%28%26block%29-macro" class="tooltip">
|
||||
<span>properties(&block)</span>
|
||||
properties</a>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1208,13 +1251,6 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1283,7 +1319,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/naming/rescued_exceptions_variable_name.cr#L27" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/naming/rescued_exceptions_variable_name.cr#L27" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1332,6 +1368,8 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
<h2>
|
||||
<a id="instance-method-detail" class="anchor" href="#instance-method-detail">
|
||||
<svg class="octicon-link" aria-hidden="true">
|
||||
|
@ -1492,15 +1530,13 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/naming/rescued_exceptions_variable_name.cr#L36" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/naming/rescued_exceptions_variable_name.cr#L36" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</body>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<meta charset="utf-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="generator" content="Crystal Docs 1.9.2">
|
||||
<meta name="generator" content="Crystal Docs 1.10.1">
|
||||
<meta name="crystal_docs.project_version" content="master">
|
||||
<meta name="crystal_docs.project_name" content="ameba">
|
||||
|
||||
|
@ -980,7 +980,7 @@
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/naming/type_names.cr#L54" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/naming/type_names.cr#L54" target="_blank">
|
||||
ameba/rule/naming/type_names.cr
|
||||
</a>
|
||||
|
||||
|
@ -1057,6 +1057,8 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
<h2>
|
||||
<a id="instance-method-summary" class="anchor" href="#instance-method-summary">
|
||||
<svg class="octicon-link" aria-hidden="true">
|
||||
|
@ -1116,8 +1118,6 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="methods-inherited">
|
||||
|
||||
|
||||
|
@ -1127,6 +1127,9 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1135,6 +1138,9 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1202,7 +1208,44 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
<h3>Macros inherited from class <code><a href="../../../Ameba/Rule/Base.html">Ameba::Rule::Base</a></code></h3>
|
||||
|
||||
|
||||
<a href="../../../Ameba/Rule/Base.html#issue_for%28%2Aargs%2C%2A%2Akwargs%2C%26block%29-macro" class="tooltip">
|
||||
<span>issue_for(*args, **kwargs, &block)</span>
|
||||
issue_for</a>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h3>Macros inherited from module <code>Ameba::Config::RuleConfig</code></h3>
|
||||
|
||||
|
||||
<a href="../../../Ameba/Config/RuleConfig.html#properties%28%26block%29-macro" class="tooltip">
|
||||
<span>properties(&block)</span>
|
||||
properties</a>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1216,13 +1259,6 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1314,7 +1350,7 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/naming/type_names.cr#L54" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/naming/type_names.cr#L54" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1363,6 +1399,8 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
<h2>
|
||||
<a id="instance-method-detail" class="anchor" href="#instance-method-detail">
|
||||
<svg class="octicon-link" aria-hidden="true">
|
||||
|
@ -1495,15 +1533,13 @@
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/naming/type_names.cr#L61" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/naming/type_names.cr#L61" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</body>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<meta charset="utf-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="generator" content="Crystal Docs 1.9.2">
|
||||
<meta name="generator" content="Crystal Docs 1.10.1">
|
||||
<meta name="crystal_docs.project_version" content="master">
|
||||
<meta name="crystal_docs.project_name" content="ameba">
|
||||
|
||||
|
@ -951,7 +951,7 @@ wrong_Name <span class="o">=</span> <span class="n">2</span></code></pre>
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/naming/variable_names.cr#L25" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/naming/variable_names.cr#L25" target="_blank">
|
||||
ameba/rule/naming/variable_names.cr
|
||||
</a>
|
||||
|
||||
|
@ -1028,6 +1028,8 @@ wrong_Name <span class="o">=</span> <span class="n">2</span></code></pre>
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
<h2>
|
||||
<a id="instance-method-summary" class="anchor" href="#instance-method-summary">
|
||||
<svg class="octicon-link" aria-hidden="true">
|
||||
|
@ -1094,8 +1096,6 @@ wrong_Name <span class="o">=</span> <span class="n">2</span></code></pre>
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="methods-inherited">
|
||||
|
||||
|
||||
|
@ -1105,6 +1105,9 @@ wrong_Name <span class="o">=</span> <span class="n">2</span></code></pre>
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1113,6 +1116,9 @@ wrong_Name <span class="o">=</span> <span class="n">2</span></code></pre>
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1180,7 +1186,44 @@ wrong_Name <span class="o">=</span> <span class="n">2</span></code></pre>
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
<h3>Macros inherited from class <code><a href="../../../Ameba/Rule/Base.html">Ameba::Rule::Base</a></code></h3>
|
||||
|
||||
|
||||
<a href="../../../Ameba/Rule/Base.html#issue_for%28%2Aargs%2C%2A%2Akwargs%2C%26block%29-macro" class="tooltip">
|
||||
<span>issue_for(*args, **kwargs, &block)</span>
|
||||
issue_for</a>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h3>Macros inherited from module <code>Ameba::Config::RuleConfig</code></h3>
|
||||
|
||||
|
||||
<a href="../../../Ameba/Config/RuleConfig.html#properties%28%26block%29-macro" class="tooltip">
|
||||
<span>properties(&block)</span>
|
||||
properties</a>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1194,13 +1237,6 @@ wrong_Name <span class="o">=</span> <span class="n">2</span></code></pre>
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1263,7 +1299,7 @@ wrong_Name <span class="o">=</span> <span class="n">2</span></code></pre>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/naming/variable_names.cr#L25" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/naming/variable_names.cr#L25" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1312,6 +1348,8 @@ wrong_Name <span class="o">=</span> <span class="n">2</span></code></pre>
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
<h2>
|
||||
<a id="instance-method-detail" class="anchor" href="#instance-method-detail">
|
||||
<svg class="octicon-link" aria-hidden="true">
|
||||
|
@ -1444,7 +1482,7 @@ wrong_Name <span class="o">=</span> <span class="n">2</span></code></pre>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/naming/variable_names.cr#L36" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/naming/variable_names.cr#L36" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1465,22 +1503,20 @@ wrong_Name <span class="o">=</span> <span class="n">2</span></code></pre>
|
|||
|
||||
<p>This method is designed to test the source passed in. If source has issues
|
||||
that are tested by this rule, it should add an issue.</p>
|
||||
<p>Be default it uses a node visitor to traverse all the nodes in the source.</p>
|
||||
<p>By default it uses a node visitor to traverse all the nodes in the source.</p>
|
||||
<p><span class="flag purple">NOTE</span> Must be overridden for other type of rules.</p>
|
||||
</div>
|
||||
|
||||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/452a7a8/src/ameba/rule/naming/variable_names.cr#L32" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/b6bd74e/src/ameba/rule/naming/variable_names.cr#L32" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</body>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue