From 1345f16c516e0ba754cfb45b0ddd25e8117bac89 Mon Sep 17 00:00:00 2001 From: Sija Date: Fri, 22 Oct 2021 17:56:12 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20=20@=203d432?= =?UTF-8?q?fdee836ae21bb2709e5c4a233d9b13fad82=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Ameba.html | 62 +- Ameba/AST.html | 67 +- Ameba/AST/Argument.html | 59 +- Ameba/AST/Assignment.html | 73 +- Ameba/AST/BaseVisitor.html | 41 +- Ameba/AST/Branch.html | 61 +- Ameba/AST/Branchable.html | 59 +- Ameba/AST/CountingVisitor.html | 45 +- Ameba/AST/FlowExpression.html | 57 +- Ameba/AST/FlowExpressionVisitor.html | 39 +- Ameba/AST/InstanceVariable.html | 57 +- Ameba/AST/NodeVisitor.html | 89 +- .../RedundantControlExpressionVisitor.html | 45 +- Ameba/AST/Reference.html | 41 +- Ameba/AST/Scope.html | 95 +- Ameba/AST/ScopeVisitor.html | 39 +- Ameba/AST/TopLevelNodesVisitor.html | 45 +- Ameba/AST/Util.html | 55 +- Ameba/AST/Variable.html | 87 +- Ameba/Config.html | 67 +- Ameba/Formatter.html | 51 +- Ameba/Formatter/BaseFormatter.html | 51 +- Ameba/Formatter/DisabledFormatter.html | 39 +- Ameba/Formatter/DotFormatter.html | 43 +- Ameba/Formatter/ExplainFormatter.html | 45 +- Ameba/Formatter/FlycheckFormatter.html | 39 +- Ameba/Formatter/JSONFormatter.html | 45 +- Ameba/Formatter/TODOFormatter.html | 41 +- Ameba/Formatter/Util.html | 45 +- Ameba/GlobUtils.html | 41 +- Ameba/InlineComments.html | 43 +- Ameba/InlineComments/Action.html | 41 +- Ameba/Issue.html | 59 +- Ameba/Issue/Status.html | 41 +- Ameba/Reportable.html | 51 +- Ameba/Rule.html | 39 +- Ameba/Rule/Base.html | 59 +- Ameba/Rule/Layout.html | 41 +- Ameba/Rule/Layout/LineLength.html | 41 +- Ameba/Rule/Layout/TrailingBlankLines.html | 41 +- Ameba/Rule/Layout/TrailingWhitespace.html | 41 +- Ameba/Rule/Lint.html | 89 +- Ameba/Rule/Lint/AmbiguousAssignment.html | 41 +- Ameba/Rule/Lint/BadDirective.html | 41 +- Ameba/Rule/Lint/ComparisonToBoolean.html | 41 +- Ameba/Rule/Lint/DebuggerStatement.html | 41 +- Ameba/Rule/Lint/DuplicatedRequire.html | 41 +- Ameba/Rule/Lint/EmptyEnsure.html | 41 +- Ameba/Rule/Lint/EmptyExpression.html | 43 +- Ameba/Rule/Lint/EmptyLoop.html | 45 +- Ameba/Rule/Lint/HashDuplicatedKey.html | 41 +- Ameba/Rule/Lint/LiteralInCondition.html | 47 +- Ameba/Rule/Lint/LiteralInInterpolation.html | 41 +- Ameba/Rule/Lint/PercentArrays.html | 41 +- Ameba/Rule/Lint/RandZero.html | 41 +- Ameba/Rule/Lint/RedundantStringCoercion.html | 41 +- Ameba/Rule/Lint/RedundantWithIndex.html | 41 +- Ameba/Rule/Lint/RedundantWithObject.html | 41 +- Ameba/Rule/Lint/ShadowedArgument.html | 43 +- Ameba/Rule/Lint/ShadowedException.html | 41 +- Ameba/Rule/Lint/ShadowingOuterLocalVar.html | 45 +- Ameba/Rule/Lint/SharedVarInFiber.html | 43 +- Ameba/Rule/Lint/SpecFocus.html | 43 +- Ameba/Rule/Lint/Syntax.html | 41 +- Ameba/Rule/Lint/UnneededDisableDirective.html | 41 +- Ameba/Rule/Lint/UnreachableCode.html | 43 +- Ameba/Rule/Lint/UnusedArgument.html | 47 +- Ameba/Rule/Lint/UselessAssign.html | 43 +- Ameba/Rule/Lint/UselessConditionInWhen.html | 41 +- Ameba/Rule/Metrics.html | 37 +- Ameba/Rule/Metrics/CyclomaticComplexity.html | 41 +- Ameba/Rule/Performance.html | 53 +- Ameba/Rule/Performance/AnyAfterFilter.html | 41 +- Ameba/Rule/Performance/AnyInsteadOfEmpty.html | 41 +- Ameba/Rule/Performance/Base.html | 41 +- .../Performance/ChainedCallWithNoBang.html | 43 +- Ameba/Rule/Performance/CompactAfterMap.html | 43 +- .../Performance/FirstLastAfterFilter.html | 43 +- Ameba/Rule/Performance/FlattenAfterMap.html | 43 +- Ameba/Rule/Performance/MapInsteadOfBlock.html | 43 +- Ameba/Rule/Performance/SizeAfterFilter.html | 43 +- Ameba/Rule/Style.html | 65 +- Ameba/Rule/Style/ConstantNames.html | 41 +- Ameba/Rule/Style/IsAFilter.html | 43 +- Ameba/Rule/Style/IsANil.html | 41 +- Ameba/Rule/Style/LargeNumbers.html | 41 +- Ameba/Rule/Style/MethodNames.html | 41 +- .../Rule/Style/NegatedConditionsInUnless.html | 41 +- Ameba/Rule/Style/PredicateName.html | 41 +- Ameba/Rule/Style/RedundantBegin.html | 41 +- Ameba/Rule/Style/RedundantNext.html | 43 +- Ameba/Rule/Style/RedundantReturn.html | 43 +- Ameba/Rule/Style/TypeNames.html | 49 +- Ameba/Rule/Style/UnlessElse.html | 41 +- Ameba/Rule/Style/VariableNames.html | 45 +- Ameba/Rule/Style/VerboseBlock.html | 41 +- Ameba/Rule/Style/WhileTrue.html | 41 +- Ameba/Runner.html | 47 +- Ameba/Severity.html | 47 +- Ameba/SeverityYamlConverter.html | 41 +- Ameba/Source.html | 102 +- Ameba/Spec.html | 735 +++++++++++ Ameba/Spec/AnnotatedSource.html | 1070 +++++++++++++++++ Ameba/Spec/BeValid.html | 771 ++++++++++++ Ameba/Spec/BeValidExpectation.html | 888 ++++++++++++++ Ameba/Spec/ExpectIssue.html | 873 ++++++++++++++ Ameba/Spec/Util.html | 787 ++++++++++++ Ameba/Tokenizer.html | 43 +- index.html | 35 + index.json | 2 +- search-index.js | 2 +- 111 files changed, 9393 insertions(+), 608 deletions(-) create mode 100644 Ameba/Spec.html create mode 100644 Ameba/Spec/AnnotatedSource.html create mode 100644 Ameba/Spec/BeValid.html create mode 100644 Ameba/Spec/BeValidExpectation.html create mode 100644 Ameba/Spec/ExpectIssue.html create mode 100644 Ameba/Spec/Util.html diff --git a/Ameba.html b/Ameba.html index 729a2d92..6b43fc80 100644 --- a/Ameba.html +++ b/Ameba.html @@ -606,6 +606,41 @@ +
  • + Spec + + + + +
  • +
  • Tokenizer @@ -689,63 +724,70 @@ config.files = file_paths - + ameba.cr
    - + ameba/glob_utils.cr
    - + ameba/inline_comments.cr
    - + ameba/issue.cr
    - + ameba/reportable.cr
    - + ameba/runner.cr
    - + ameba/severity.cr
    - + ameba/source.cr
    - + + ameba/spec/support.cr + + +
    + + + ameba/tokenizer.cr @@ -840,7 +882,7 @@ Can be configured via config parameter.


    - [View source] + [View source]
    diff --git a/Ameba/AST.html b/Ameba/AST.html index 46892606..fcd0db08 100644 --- a/Ameba/AST.html +++ b/Ameba/AST.html @@ -606,6 +606,41 @@
  • +
  • + Spec + + + + +
  • +
  • Tokenizer @@ -667,112 +702,112 @@ - + ameba/ast/branch.cr
    - + ameba/ast/branchable.cr
    - + ameba/ast/flow_expression.cr
    - + ameba/ast/scope.cr
    - + ameba/ast/variabling/argument.cr
    - + ameba/ast/variabling/assignment.cr
    - + ameba/ast/variabling/ivariable.cr
    - + ameba/ast/variabling/reference.cr
    - + ameba/ast/variabling/variable.cr
    - + ameba/ast/visitors/base_visitor.cr
    - + ameba/ast/visitors/counting_visitor.cr
    - + ameba/ast/visitors/flow_expression_visitor.cr
    - + ameba/ast/visitors/node_visitor.cr
    - + ameba/ast/visitors/redundant_control_expression_visitor.cr
    - + ameba/ast/visitors/scope_visitor.cr
    - + ameba/ast/visitors/top_level_nodes_visitor.cr diff --git a/Ameba/AST/Argument.html b/Ameba/AST/Argument.html index e40270df..623011c1 100644 --- a/Ameba/AST/Argument.html +++ b/Ameba/AST/Argument.html @@ -606,6 +606,41 @@
  • +
  • + Spec + + + + +
  • +
  • Tokenizer @@ -677,7 +712,7 @@ Holds the reference to the variable, thus to scope.

    - + ameba/ast/variabling/argument.cr @@ -836,7 +871,7 @@ Holds the reference to the variable, thus to scope.


    - [View source] + [View source]
    @@ -866,7 +901,7 @@ Holds the reference to the variable, thus to scope.


    - [View source] + [View source]
    @@ -882,7 +917,7 @@ Holds the reference to the variable, thus to scope.


    - [View source] + [View source]
    @@ -903,7 +938,7 @@ Holds the reference to the variable, thus to scope.


    - [View source] + [View source]
    @@ -919,7 +954,7 @@ Holds the reference to the variable, thus to scope.


    - [View source] + [View source]
    @@ -935,7 +970,7 @@ Holds the reference to the variable, thus to scope.


    - [View source] + [View source]
    @@ -956,7 +991,7 @@ Holds the reference to the variable, thus to scope.


    - [View source] + [View source]
    @@ -977,7 +1012,7 @@ Holds the reference to the variable, thus to scope.


    - [View source] + [View source]
    @@ -993,7 +1028,7 @@ Holds the reference to the variable, thus to scope.


    - [View source] + [View source]
    @@ -1009,7 +1044,7 @@ Holds the reference to the variable, thus to scope.


    - [View source] + [View source]
    @@ -1030,7 +1065,7 @@ Holds the reference to the variable, thus to scope.


    - [View source] + [View source]
    diff --git a/Ameba/AST/Assignment.html b/Ameba/AST/Assignment.html index 8cb4f03c..e4102280 100644 --- a/Ameba/AST/Assignment.html +++ b/Ameba/AST/Assignment.html @@ -606,6 +606,41 @@
  • +
  • + Spec + + + + +
  • +
  • Tokenizer @@ -670,7 +705,7 @@ Holds the assign node and the variable.

    - + ameba/ast/variabling/assignment.cr @@ -872,7 +907,7 @@ Holds the assign node and the variable.


    - [View source] + [View source]
    @@ -907,7 +942,7 @@ Holds the assign node and the variable.


    - [View source] + [View source]
    @@ -923,7 +958,7 @@ Holds the assign node and the variable.


    - [View source] + [View source]
    @@ -939,7 +974,7 @@ Holds the assign node and the variable.


    - [View source] + [View source]
    @@ -962,7 +997,7 @@ For example, this assignment is in a branch:


    - [View source] + [View source]
    @@ -978,7 +1013,7 @@ For example, this assignment is in a branch:


    - [View source] + [View source]
    @@ -994,7 +1029,7 @@ For example, this assignment is in a branch:


    - [View source] + [View source]
    @@ -1015,7 +1050,7 @@ For example, this assignment is in a branch:


    - [View source] + [View source]
    @@ -1038,7 +1073,7 @@ For example, this is an op assign:


    - [View source] + [View source]
    @@ -1054,7 +1089,7 @@ For example, this is an op assign:


    - [View source] + [View source]
    @@ -1070,7 +1105,7 @@ For example, this is an op assign:


    - [View source] + [View source]
    @@ -1086,7 +1121,7 @@ For example, this is an op assign:


    - [View source] + [View source]
    @@ -1107,7 +1142,7 @@ For example, this is an op assign:


    - [View source] + [View source]
    @@ -1128,7 +1163,7 @@ For example, this is an op assign:


    - [View source] + [View source]
    @@ -1144,7 +1179,7 @@ For example, this is an op assign:


    - [View source] + [View source]
    @@ -1160,7 +1195,7 @@ For example, this is an op assign:


    - [View source] + [View source]
    @@ -1191,7 +1226,7 @@ i.e.


    - [View source] + [View source]
    @@ -1212,7 +1247,7 @@ i.e.


    - [View source] + [View source]
    diff --git a/Ameba/AST/BaseVisitor.html b/Ameba/AST/BaseVisitor.html index 2737915b..149c1708 100644 --- a/Ameba/AST/BaseVisitor.html +++ b/Ameba/AST/BaseVisitor.html @@ -606,6 +606,41 @@
  • +
  • + Spec + + + + +
  • +
  • Tokenizer @@ -687,7 +722,7 @@ - + ameba/ast/visitors/base_visitor.cr @@ -805,7 +840,7 @@
    - [View source] + [View source]
    @@ -841,7 +876,7 @@ Returns true meaning all child nodes will be traversed.


    - [View source] + [View source]
    diff --git a/Ameba/AST/Branch.html b/Ameba/AST/Branch.html index d739c20e..ad2c3690 100644 --- a/Ameba/AST/Branch.html +++ b/Ameba/AST/Branch.html @@ -606,6 +606,41 @@
  • +
  • + Spec + + + + +
  • +
  • Tokenizer @@ -677,7 +712,7 @@ For example, the branchable if statement contains 3 branches:

    - + ameba/ast/branch.cr @@ -869,7 +904,7 @@ For example, the branchable if statement contains 3 branches:


    - [View source] + [View source]
    @@ -903,7 +938,7 @@ For example, the branchable if statement contains 3 branches:


    - [View source] + [View source]
    @@ -925,7 +960,7 @@ For example, the branchable if statement contains 3 branches:


    - [View source] + [View source]
    @@ -976,7 +1011,7 @@ For example, the branchable if statement contains 3 branches:


    - [View source] + [View source]
    @@ -992,7 +1027,7 @@ For example, the branchable if statement contains 3 branches:


    - [View source] + [View source]
    @@ -1043,7 +1078,7 @@ For example, this branch is in a loop:


    - [View source] + [View source]
    @@ -1059,7 +1094,7 @@ For example, this branch is in a loop:


    - [View source] + [View source]
    @@ -1075,7 +1110,7 @@ For example, this branch is in a loop:


    - [View source] + [View source]
    @@ -1096,7 +1131,7 @@ For example, this branch is in a loop:


    - [View source] + [View source]
    @@ -1117,7 +1152,7 @@ For example, this branch is in a loop:


    - [View source] + [View source]
    @@ -1133,7 +1168,7 @@ For example, this branch is in a loop:


    - [View source] + [View source]
    @@ -1149,7 +1184,7 @@ For example, this branch is in a loop:


    - [View source] + [View source]
    diff --git a/Ameba/AST/Branchable.html b/Ameba/AST/Branchable.html index a5fe4d84..fc746de8 100644 --- a/Ameba/AST/Branchable.html +++ b/Ameba/AST/Branchable.html @@ -606,6 +606,41 @@
  • +
  • + Spec + + + + +
  • +
  • Tokenizer @@ -690,7 +725,7 @@ are branchables.

    - + ameba/ast/branchable.cr @@ -906,7 +941,7 @@ are branchables.


    - [View source] + [View source]
    @@ -936,7 +971,7 @@ are branchables.


    - [View source] + [View source]
    @@ -952,7 +987,7 @@ are branchables.


    - [View source] + [View source]
    @@ -968,7 +1003,7 @@ are branchables.


    - [View source] + [View source]
    @@ -984,7 +1019,7 @@ are branchables.


    - [View source] + [View source]
    @@ -1000,7 +1035,7 @@ are branchables.


    - [View source] + [View source]
    @@ -1021,7 +1056,7 @@ are branchables.


    - [View source] + [View source]
    @@ -1042,7 +1077,7 @@ are branchables.


    - [View source] + [View source]
    @@ -1063,7 +1098,7 @@ are branchables.


    - [View source] + [View source]
    @@ -1079,7 +1114,7 @@ are branchables.


    - [View source] + [View source]
    @@ -1095,7 +1130,7 @@ are branchables.


    - [View source] + [View source]
    diff --git a/Ameba/AST/CountingVisitor.html b/Ameba/AST/CountingVisitor.html index 2a1cac5e..01cca73d 100644 --- a/Ameba/AST/CountingVisitor.html +++ b/Ameba/AST/CountingVisitor.html @@ -606,6 +606,41 @@
  • +
  • + Spec + + + + +
  • +
  • Tokenizer @@ -669,7 +704,7 @@ - + ameba/ast/visitors/counting_visitor.cr @@ -815,7 +850,7 @@
    - [View source] + [View source]
    @@ -850,7 +885,7 @@
    - [View source] + [View source]
    @@ -866,7 +901,7 @@
    - [View source] + [View source]
    @@ -882,7 +917,7 @@
    - [View source] + [View source]
    diff --git a/Ameba/AST/FlowExpression.html b/Ameba/AST/FlowExpression.html index a6785046..8038ef09 100644 --- a/Ameba/AST/FlowExpression.html +++ b/Ameba/AST/FlowExpression.html @@ -606,6 +606,41 @@
  • +
  • + Spec + + + + +
  • +
  • Tokenizer @@ -692,7 +727,7 @@ a parent node, which allows easily search through the related statement - + ameba/ast/flow_expression.cr @@ -903,7 +938,7 @@ a parent node, which allows easily search through the related statement
    - [View source] + [View source]
    @@ -933,7 +968,7 @@ a parent node, which allows easily search through the related statement
    - [View source] + [View source]
    @@ -949,7 +984,7 @@ a parent node, which allows easily search through the related statement
    - [View source] + [View source]
    @@ -970,7 +1005,7 @@ a parent node, which allows easily search through the related statement
    - [View source] + [View source]
    @@ -986,7 +1021,7 @@ a parent node, which allows easily search through the related statement
    - [View source] + [View source]
    @@ -1002,7 +1037,7 @@ a parent node, which allows easily search through the related statement
    - [View source] + [View source]
    @@ -1023,7 +1058,7 @@ a parent node, which allows easily search through the related statement
    - [View source] + [View source]
    @@ -1039,7 +1074,7 @@ a parent node, which allows easily search through the related statement
    - [View source] + [View source]
    @@ -1055,7 +1090,7 @@ a parent node, which allows easily search through the related statement
    - [View source] + [View source]
    @@ -1083,7 +1118,7 @@ For example:


    - [View source] + [View source]
    diff --git a/Ameba/AST/FlowExpressionVisitor.html b/Ameba/AST/FlowExpressionVisitor.html index a7a63204..788707d7 100644 --- a/Ameba/AST/FlowExpressionVisitor.html +++ b/Ameba/AST/FlowExpressionVisitor.html @@ -606,6 +606,41 @@
  • +
  • + Spec + + + + +
  • +
  • Tokenizer @@ -683,7 +718,7 @@ - + ameba/ast/visitors/flow_expression_visitor.cr @@ -868,7 +903,7 @@
    - [View source] + [View source]
    diff --git a/Ameba/AST/InstanceVariable.html b/Ameba/AST/InstanceVariable.html index 63532b26..ee0c85cc 100644 --- a/Ameba/AST/InstanceVariable.html +++ b/Ameba/AST/InstanceVariable.html @@ -606,6 +606,41 @@
  • +
  • + Spec + + + + +
  • +
  • Tokenizer @@ -658,7 +693,7 @@ - + ameba/ast/variabling/ivariable.cr @@ -796,7 +831,7 @@
    - [View source] + [View source]
    @@ -826,7 +861,7 @@
    - [View source] + [View source]
    @@ -842,7 +877,7 @@
    - [View source] + [View source]
    @@ -858,7 +893,7 @@
    - [View source] + [View source]
    @@ -874,7 +909,7 @@
    - [View source] + [View source]
    @@ -890,7 +925,7 @@
    - [View source] + [View source]
    @@ -906,7 +941,7 @@
    - [View source] + [View source]
    @@ -922,7 +957,7 @@
    - [View source] + [View source]
    @@ -938,7 +973,7 @@
    - [View source] + [View source]
    @@ -954,7 +989,7 @@
    - [View source] + [View source]
    diff --git a/Ameba/AST/NodeVisitor.html b/Ameba/AST/NodeVisitor.html index 30a1df4a..c0757b56 100644 --- a/Ameba/AST/NodeVisitor.html +++ b/Ameba/AST/NodeVisitor.html @@ -606,6 +606,41 @@
  • +
  • + Spec + + + + +
  • +
  • Tokenizer @@ -671,7 +706,7 @@ to be inspected by rules.

    - + ameba/ast/visitors/node_visitor.cr @@ -975,7 +1010,7 @@ to be inspected by rules.


    - [View source] + [View source]
    @@ -1011,7 +1046,7 @@ Returns true meaning that child nodes will be traversed as well.


    - [View source] + [View source]
    @@ -1033,7 +1068,7 @@ Returns true meaning that child nodes will be traversed as well.


    - [View source] + [View source]
    @@ -1055,7 +1090,7 @@ Returns true meaning that child nodes will be traversed as well.


    - [View source] + [View source]
    @@ -1077,7 +1112,7 @@ Returns true meaning that child nodes will be traversed as well.


    - [View source] + [View source]
    @@ -1099,7 +1134,7 @@ Returns true meaning that child nodes will be traversed as well.


    - [View source] + [View source]
    @@ -1121,7 +1156,7 @@ Returns true meaning that child nodes will be traversed as well.


    - [View source] + [View source]
    @@ -1143,7 +1178,7 @@ Returns true meaning that child nodes will be traversed as well.


    - [View source] + [View source]
    @@ -1165,7 +1200,7 @@ Returns true meaning that child nodes will be traversed as well.


    - [View source] + [View source]
    @@ -1187,7 +1222,7 @@ Returns true meaning that child nodes will be traversed as well.


    - [View source] + [View source]
    @@ -1209,7 +1244,7 @@ Returns true meaning that child nodes will be traversed as well.


    - [View source] + [View source]
    @@ -1231,7 +1266,7 @@ Returns true meaning that child nodes will be traversed as well.


    - [View source] + [View source]
    @@ -1253,7 +1288,7 @@ Returns true meaning that child nodes will be traversed as well.


    - [View source] + [View source]
    @@ -1275,7 +1310,7 @@ Returns true meaning that child nodes will be traversed as well.


    - [View source] + [View source]
    @@ -1297,7 +1332,7 @@ Returns true meaning that child nodes will be traversed as well.


    - [View source] + [View source]
    @@ -1319,7 +1354,7 @@ Returns true meaning that child nodes will be traversed as well.


    - [View source] + [View source]
    @@ -1341,7 +1376,7 @@ Returns true meaning that child nodes will be traversed as well.


    - [View source] + [View source]
    @@ -1363,7 +1398,7 @@ Returns true meaning that child nodes will be traversed as well.


    - [View source] + [View source]
    @@ -1385,7 +1420,7 @@ Returns true meaning that child nodes will be traversed as well.


    - [View source] + [View source]
    @@ -1407,7 +1442,7 @@ Returns true meaning that child nodes will be traversed as well.


    - [View source] + [View source]
    @@ -1429,7 +1464,7 @@ Returns true meaning that child nodes will be traversed as well.


    - [View source] + [View source]
    @@ -1451,7 +1486,7 @@ Returns true meaning that child nodes will be traversed as well.


    - [View source] + [View source]
    @@ -1473,7 +1508,7 @@ Returns true meaning that child nodes will be traversed as well.


    - [View source] + [View source]
    @@ -1495,7 +1530,7 @@ Returns true meaning that child nodes will be traversed as well.


    - [View source] + [View source]
    @@ -1517,7 +1552,7 @@ Returns true meaning that child nodes will be traversed as well.


    - [View source] + [View source]
    @@ -1533,7 +1568,7 @@ Returns true meaning that child nodes will be traversed as well.


    - [View source] + [View source]
    diff --git a/Ameba/AST/RedundantControlExpressionVisitor.html b/Ameba/AST/RedundantControlExpressionVisitor.html index 6d631cc6..1edc116c 100644 --- a/Ameba/AST/RedundantControlExpressionVisitor.html +++ b/Ameba/AST/RedundantControlExpressionVisitor.html @@ -606,6 +606,41 @@
  • +
  • + Spec + + + + +
  • +
  • Tokenizer @@ -671,7 +706,7 @@ is reached.

    - + ameba/ast/visitors/redundant_control_expression_visitor.cr @@ -785,7 +820,7 @@ is reached.


    - [View source] + [View source]
    @@ -820,7 +855,7 @@ is reached.


    - [View source] + [View source]
    @@ -841,7 +876,7 @@ is reached.


    - [View source] + [View source]
    @@ -862,7 +897,7 @@ is reached.


    - [View source] + [View source]
    diff --git a/Ameba/AST/Reference.html b/Ameba/AST/Reference.html index add27bea..4d169024 100644 --- a/Ameba/AST/Reference.html +++ b/Ameba/AST/Reference.html @@ -606,6 +606,41 @@
  • +
  • + Spec + + + + +
  • +
  • Tokenizer @@ -671,7 +706,7 @@ the variable from its reference.

    - + ameba/ast/variabling/reference.cr @@ -884,7 +919,7 @@ the variable from its reference.


    - [View source] + [View source]
    @@ -900,7 +935,7 @@ the variable from its reference.


    - [View source] + [View source]
    diff --git a/Ameba/AST/Scope.html b/Ameba/AST/Scope.html index 539c8737..59b3bec7 100644 --- a/Ameba/AST/Scope.html +++ b/Ameba/AST/Scope.html @@ -606,6 +606,41 @@
  • +
  • + Spec + + + + +
  • +
  • Tokenizer @@ -670,7 +705,7 @@ This is where the local variables belong to.

    - + ameba/ast/scope.cr @@ -969,7 +1004,7 @@ This is where the local variables belong to.


    - [View source] + [View source]
    @@ -1029,7 +1064,7 @@ scope.add_argument(arg_node)
    - [View source] + [View source]
    @@ -1052,7 +1087,7 @@ scope.add_ivariable(ivar_node)
    - [View source] + [View source]
    @@ -1075,7 +1110,7 @@ scope.add_variable(var_node)
    - [View source] + [View source]
    @@ -1096,7 +1131,7 @@ scope.add_variable(var_node)
    - [View source] + [View source]
    @@ -1117,7 +1152,7 @@ scope.add_variable(var_node)
    - [View source] + [View source]
    @@ -1140,7 +1175,7 @@ scope.assign_variable(var_name, assign_node)
    - [View source] + [View source]
    @@ -1161,7 +1196,7 @@ scope.assign_variable(var_name, assign_node)
    - [View source] + [View source]
    @@ -1183,7 +1218,7 @@ false if not.


    - [View source] + [View source]
    @@ -1204,7 +1239,7 @@ false if not.


    - [View source] + [View source]
    @@ -1220,7 +1255,7 @@ false if not.


    - [View source] + [View source]
    @@ -1236,7 +1271,7 @@ false if not.


    - [View source] + [View source]
    @@ -1258,7 +1293,7 @@ the same Crystal node as @node.


    - [View source] + [View source]
    @@ -1281,7 +1316,7 @@ scope.find_variable("foo")
    - [View source] + [View source]
    @@ -1325,7 +1360,7 @@ scope.find_variable("foo")
    - [View source] + [View source]
    @@ -1346,7 +1381,7 @@ scope.find_variable("foo")
    - [View source] + [View source]
    @@ -1367,7 +1402,7 @@ scope.find_variable("foo")
    - [View source] + [View source]
    @@ -1383,7 +1418,7 @@ scope.find_variable("foo")
    - [View source] + [View source]
    @@ -1399,7 +1434,7 @@ scope.find_variable("foo")
    - [View source] + [View source]
    @@ -1420,7 +1455,7 @@ scope.find_variable("foo")
    - [View source] + [View source]
    @@ -1441,7 +1476,7 @@ scope.find_variable("foo")
    - [View source] + [View source]
    @@ -1462,7 +1497,7 @@ scope.find_variable("foo")
    - [View source] + [View source]
    @@ -1484,7 +1519,7 @@ false if not.


    - [View source] + [View source]
    @@ -1508,7 +1543,7 @@ false if not.


    - [View source] + [View source]
    @@ -1524,7 +1559,7 @@ false if not.


    - [View source] + [View source]
    @@ -1540,7 +1575,7 @@ false if not.


    - [View source] + [View source]
    @@ -1561,7 +1596,7 @@ false if not.


    - [View source] + [View source]
    @@ -1583,7 +1618,7 @@ type definition, for example a class.


    - [View source] + [View source]
    @@ -1604,7 +1639,7 @@ type definition, for example a class.


    - [View source] + [View source]
    diff --git a/Ameba/AST/ScopeVisitor.html b/Ameba/AST/ScopeVisitor.html index db7513ca..eac26a5a 100644 --- a/Ameba/AST/ScopeVisitor.html +++ b/Ameba/AST/ScopeVisitor.html @@ -606,6 +606,41 @@
  • +
  • + Spec + + + + +
  • +
  • Tokenizer @@ -669,7 +704,7 @@ - + ameba/ast/visitors/scope_visitor.cr @@ -812,7 +847,7 @@
    - [View source] + [View source]
    diff --git a/Ameba/AST/TopLevelNodesVisitor.html b/Ameba/AST/TopLevelNodesVisitor.html index e1a3877d..af3fbd94 100644 --- a/Ameba/AST/TopLevelNodesVisitor.html +++ b/Ameba/AST/TopLevelNodesVisitor.html @@ -606,6 +606,41 @@
  • +
  • + Spec + + + + +
  • +
  • Tokenizer @@ -670,7 +705,7 @@ can characterize the source (i.e. require statements, modules etc.)

    - + ameba/ast/visitors/top_level_nodes_visitor.cr @@ -799,7 +834,7 @@ can characterize the source (i.e. require statements, modules etc.)


    - [View source] + [View source]
    @@ -829,7 +864,7 @@ can characterize the source (i.e. require statements, modules etc.)


    - [View source] + [View source]
    @@ -850,7 +885,7 @@ can characterize the source (i.e. require statements, modules etc.)


    - [View source] + [View source]
    @@ -872,7 +907,7 @@ Returns false meaning all child nodes will not be traversed.


    - [View source] + [View source]
    diff --git a/Ameba/AST/Util.html b/Ameba/AST/Util.html index e561f14e..ca44a9f2 100644 --- a/Ameba/AST/Util.html +++ b/Ameba/AST/Util.html @@ -606,6 +606,41 @@
  • +
  • + Spec + + + + +
  • +
  • Tokenizer @@ -701,7 +736,7 @@ - + ameba/ast/util.cr @@ -829,7 +864,7 @@
    - [View source] + [View source]
    @@ -850,7 +885,7 @@
    - [View source] + [View source]
    @@ -873,7 +908,7 @@ or special call node that interrupts execution (i.e. raise, exit, abort).


    - [View source] + [View source]
    @@ -909,7 +944,7 @@ a flow command return:


    - [View source] + [View source]
    @@ -930,7 +965,7 @@ a flow command return:


    - [View source] + [View source]
    @@ -951,7 +986,7 @@ a flow command return:


    - [View source] + [View source]
    @@ -974,7 +1009,7 @@ to determine and cut a piece of source of the node.


    - [View source] + [View source]
    @@ -995,7 +1030,7 @@ to determine and cut a piece of source of the node.


    - [View source] + [View source]
    @@ -1016,7 +1051,7 @@ to determine and cut a piece of source of the node.


    - [View source] + [View source]
    diff --git a/Ameba/AST/Variable.html b/Ameba/AST/Variable.html index 07d41287..bd3aa819 100644 --- a/Ameba/AST/Variable.html +++ b/Ameba/AST/Variable.html @@ -606,6 +606,41 @@
  • +
  • + Spec + + + + +
  • +
  • Tokenizer @@ -684,7 +719,7 @@ Holds the var node and variable assigments.

    - + ameba/ast/variabling/variable.cr @@ -937,7 +972,7 @@ Holds the var node and variable assigments.


    - [View source] + [View source]
    @@ -977,7 +1012,7 @@ variable.assignment.size # => 2
    - [View source] + [View source]
    @@ -998,7 +1033,7 @@ variable.assignment.size # => 2
    - [View source] + [View source]
    @@ -1019,7 +1054,7 @@ variable.assignment.size # => 2
    - [View source] + [View source]
    @@ -1047,7 +1082,7 @@ by block:


    - [View source] + [View source]
    @@ -1068,7 +1103,7 @@ by block:


    - [View source] + [View source]
    @@ -1084,7 +1119,7 @@ by block:


    - [View source] + [View source]
    @@ -1100,7 +1135,7 @@ by block:


    - [View source] + [View source]
    @@ -1122,7 +1157,7 @@ the same Crystal node as @node.


    - [View source] + [View source]
    @@ -1143,7 +1178,7 @@ the same Crystal node as @node.


    - [View source] + [View source]
    @@ -1159,7 +1194,7 @@ the same Crystal node as @node.


    - [View source] + [View source]
    @@ -1175,7 +1210,7 @@ the same Crystal node as @node.


    - [View source] + [View source]
    @@ -1191,7 +1226,7 @@ the same Crystal node as @node.


    - [View source] + [View source]
    @@ -1207,7 +1242,7 @@ the same Crystal node as @node.


    - [View source] + [View source]
    @@ -1228,7 +1263,7 @@ the same Crystal node as @node.


    - [View source] + [View source]
    @@ -1251,7 +1286,7 @@ variable.reference(var_node, some_scope)
    - [View source] + [View source]
    @@ -1275,7 +1310,7 @@ variable.reference_assignments!
    - [View source] + [View source]
    @@ -1299,7 +1334,7 @@ variable.referenced? # => true
    - [View source] + [View source]
    @@ -1320,7 +1355,7 @@ variable.referenced? # => true
    - [View source] + [View source]
    @@ -1341,7 +1376,7 @@ variable.referenced? # => true
    - [View source] + [View source]
    @@ -1362,7 +1397,7 @@ variable.referenced? # => true
    - [View source] + [View source]
    @@ -1384,7 +1419,7 @@ false otherwise.


    - [View source] + [View source]
    @@ -1400,7 +1435,7 @@ false otherwise.


    - [View source] + [View source]
    @@ -1416,7 +1451,7 @@ false otherwise.


    - [View source] + [View source]
    @@ -1438,7 +1473,7 @@ false if not.


    - [View source] + [View source]
    diff --git a/Ameba/Config.html b/Ameba/Config.html index 463fc12a..804f4fe4 100644 --- a/Ameba/Config.html +++ b/Ameba/Config.html @@ -606,6 +606,41 @@
  • +
  • + Spec + + + + +
  • +
  • Tokenizer @@ -687,7 +722,7 @@ config.formatter = my_formatter - + ameba/config.cr @@ -927,7 +962,7 @@ config.formatter = my_formatter
    - [View source] + [View source]
    @@ -949,7 +984,7 @@ config.formatter = my_formatter
    - [View source] + [View source]
    @@ -985,7 +1020,7 @@ config.excluded = ["spec"
    - [View source] + [View source]
    @@ -1009,7 +1044,7 @@ config.excluded = ["spec"
    - [View source] + [View source]
    @@ -1034,7 +1069,7 @@ config.formatter
    - [View source] + [View source]
    @@ -1057,7 +1092,7 @@ config.formatter = :progress
    - [View source] + [View source]
    @@ -1082,7 +1117,7 @@ config.formatter
    - [View source] + [View source]
    @@ -1108,7 +1143,7 @@ config.globs
    - [View source] + [View source]
    @@ -1134,7 +1169,7 @@ config.globs
    - [View source] + [View source]
    @@ -1150,7 +1185,7 @@ config.globs
    - [View source] + [View source]
    @@ -1166,7 +1201,7 @@ config.globs
    - [View source] + [View source]
    @@ -1182,7 +1217,7 @@ config.globs
    - [View source] + [View source]
    @@ -1208,7 +1243,7 @@ config.sources # => list of sources pointing to files found b
    - [View source] + [View source]
    @@ -1231,7 +1266,7 @@ config.update_rule "MyRuleName", enabled:
    - [View source] + [View source]
    @@ -1256,7 +1291,7 @@ config.update_rules %w(Rule1 Rule2), enabled: diff --git a/Ameba/Formatter.html b/Ameba/Formatter.html index 45ca2cc5..d00b38b4 100644 --- a/Ameba/Formatter.html +++ b/Ameba/Formatter.html @@ -606,6 +606,41 @@
  • +
  • + Spec + + + + +
  • +
  • Tokenizer @@ -667,56 +702,56 @@ - + ameba/formatter/base_formatter.cr
    - + ameba/formatter/disabled_formatter.cr
    - + ameba/formatter/dot_formatter.cr
    - + ameba/formatter/explain_formatter.cr
    - + ameba/formatter/flycheck_formatter.cr
    - + ameba/formatter/json_formatter.cr
    - + ameba/formatter/todo_formatter.cr
    - + ameba/formatter/util.cr diff --git a/Ameba/Formatter/BaseFormatter.html b/Ameba/Formatter/BaseFormatter.html index a8bcc055..2e8fcd42 100644 --- a/Ameba/Formatter/BaseFormatter.html +++ b/Ameba/Formatter/BaseFormatter.html @@ -606,6 +606,41 @@
  • +
  • + Spec + + + + +
  • +
  • Tokenizer @@ -691,7 +726,7 @@ callbacks in Ameba:: - + ameba/formatter/base_formatter.cr @@ -824,7 +859,7 @@ callbacks in Ameba::
    - [View source] + [View source]
    @@ -854,7 +889,7 @@ callbacks in Ameba::
    @@ -876,7 +911,7 @@ A list of inspected sources is passed as an argument.


    @@ -897,7 +932,7 @@ A list of inspected sources is passed as an argument.


    @@ -919,7 +954,7 @@ A corresponding source is passed as an argument.


    @@ -941,7 +976,7 @@ A corresponding source is passed as an argument.


    @@ -963,7 +998,7 @@ A list of sources to inspect is passed as an argument.


    diff --git a/Ameba/Formatter/DisabledFormatter.html b/Ameba/Formatter/DisabledFormatter.html index 434132e3..fa8a1151 100644 --- a/Ameba/Formatter/DisabledFormatter.html +++ b/Ameba/Formatter/DisabledFormatter.html @@ -606,6 +606,41 @@
  • +
  • + Spec + + + + +
  • +
  • Tokenizer @@ -669,7 +704,7 @@ - + ameba/formatter/disabled_formatter.cr @@ -819,7 +854,7 @@ A list of inspected sources is passed as an argument.


    diff --git a/Ameba/Formatter/DotFormatter.html b/Ameba/Formatter/DotFormatter.html index b64d3ab0..1f92ec17 100644 --- a/Ameba/Formatter/DotFormatter.html +++ b/Ameba/Formatter/DotFormatter.html @@ -606,6 +606,41 @@
  • +
  • + Spec + + + + +
  • +
  • Tokenizer @@ -698,7 +733,7 @@ It is similar to Crystal's dot formatter for specs.

    - + ameba/formatter/dot_formatter.cr @@ -891,7 +926,7 @@ It is similar to Crystal's dot formatter for specs.


    @@ -912,7 +947,7 @@ It is similar to Crystal's dot formatter for specs.


    @@ -933,7 +968,7 @@ It is similar to Crystal's dot formatter for specs.


    diff --git a/Ameba/Formatter/ExplainFormatter.html b/Ameba/Formatter/ExplainFormatter.html index 64a35f73..e2a31b43 100644 --- a/Ameba/Formatter/ExplainFormatter.html +++ b/Ameba/Formatter/ExplainFormatter.html @@ -606,6 +606,41 @@
  • +
  • + Spec + + + + +
  • +
  • Tokenizer @@ -684,7 +719,7 @@ a specific location.

    - + ameba/formatter/explain_formatter.cr @@ -863,7 +898,7 @@ Second argument is location which indicates the location to explain.

    @@ -898,7 +933,7 @@ Second argument is location which indicates the location to explain.

    @@ -914,7 +949,7 @@ Second argument is location which indicates the location to explain.

    @@ -930,7 +965,7 @@ Second argument is location which indicates the location to explain.

    diff --git a/Ameba/Formatter/FlycheckFormatter.html b/Ameba/Formatter/FlycheckFormatter.html index 331229be..4c7d09dd 100644 --- a/Ameba/Formatter/FlycheckFormatter.html +++ b/Ameba/Formatter/FlycheckFormatter.html @@ -606,6 +606,41 @@
  • +
  • + Spec + + + + +
  • +
  • Tokenizer @@ -658,7 +693,7 @@ - + ameba/formatter/flycheck_formatter.cr @@ -808,7 +843,7 @@ A corresponding source is passed as an argument.


    diff --git a/Ameba/Formatter/JSONFormatter.html b/Ameba/Formatter/JSONFormatter.html index 9f1f67eb..b71b01c8 100644 --- a/Ameba/Formatter/JSONFormatter.html +++ b/Ameba/Formatter/JSONFormatter.html @@ -606,6 +606,41 @@
  • +
  • + Spec + + + + +
  • +
  • Tokenizer @@ -725,7 +760,7 @@ - + ameba/formatter/json_formatter.cr @@ -892,7 +927,7 @@
    @@ -932,7 +967,7 @@ A list of inspected sources is passed as an argument.


    @@ -958,7 +993,7 @@ A corresponding source is passed as an argument.


    @@ -984,7 +1019,7 @@ A list of sources to inspect is passed as an argument.


    diff --git a/Ameba/Formatter/TODOFormatter.html b/Ameba/Formatter/TODOFormatter.html index 34c11363..8dbe616b 100644 --- a/Ameba/Formatter/TODOFormatter.html +++ b/Ameba/Formatter/TODOFormatter.html @@ -606,6 +606,41 @@
  • +
  • + Spec + + + + +
  • +
  • Tokenizer @@ -671,7 +706,7 @@ or excludes failed sources from these rules.

    - + ameba/formatter/todo_formatter.cr @@ -887,7 +922,7 @@ or excludes failed sources from these rules.


    @@ -926,7 +961,7 @@ or excludes failed sources from these rules.


    diff --git a/Ameba/Formatter/Util.html b/Ameba/Formatter/Util.html index 07072397..dd9b6085 100644 --- a/Ameba/Formatter/Util.html +++ b/Ameba/Formatter/Util.html @@ -606,6 +606,41 @@
  • +
  • + Spec + + + + +
  • +
  • Tokenizer @@ -672,7 +707,7 @@ - + ameba/formatter/util.cr @@ -752,7 +787,7 @@
    @@ -768,7 +803,7 @@
    @@ -784,7 +819,7 @@
    @@ -800,7 +835,7 @@
    diff --git a/Ameba/GlobUtils.html b/Ameba/GlobUtils.html index 05787be6..9a30b364 100644 --- a/Ameba/GlobUtils.html +++ b/Ameba/GlobUtils.html @@ -606,6 +606,41 @@
  • +
  • + Spec + + + + +
  • +
  • Tokenizer @@ -681,7 +716,7 @@ - + ameba/glob_utils.cr @@ -761,7 +796,7 @@
    @@ -784,7 +819,7 @@ Globs can have wildcards or be rejected:


    diff --git a/Ameba/InlineComments.html b/Ameba/InlineComments.html index 91566a74..fe2ade9e 100644 --- a/Ameba/InlineComments.html +++ b/Ameba/InlineComments.html @@ -606,6 +606,41 @@
  • +
  • + Spec + + + + +
  • +
  • Tokenizer @@ -681,7 +716,7 @@ - + ameba/inline_comments.cr @@ -786,7 +821,7 @@
    @@ -826,7 +861,7 @@ false otherwise.


    @@ -855,7 +890,7 @@ parse_inline_directive(line) # => nil

    - [View source] + [View source]
    diff --git a/Ameba/InlineComments/Action.html b/Ameba/InlineComments/Action.html index 19e8b48c..f9b05eb5 100644 --- a/Ameba/InlineComments/Action.html +++ b/Ameba/InlineComments/Action.html @@ -606,6 +606,41 @@
  • +
  • + Spec + + + + +
  • +
  • Tokenizer @@ -667,7 +702,7 @@ - + ameba/inline_comments.cr @@ -801,7 +836,7 @@
    - [View source] + [View source]
    @@ -817,7 +852,7 @@
    - [View source] + [View source]
    diff --git a/Ameba/Issue.html b/Ameba/Issue.html index 739a970c..22417520 100644 --- a/Ameba/Issue.html +++ b/Ameba/Issue.html @@ -606,6 +606,41 @@
  • +
  • + Spec + + + + +
  • +
  • Tokenizer @@ -669,7 +704,7 @@ - + ameba/issue.cr @@ -832,7 +867,7 @@
    - [View source] + [View source]
    @@ -862,7 +897,7 @@
    - [View source] + [View source]
    @@ -878,7 +913,7 @@
    - [View source] + [View source]
    @@ -894,7 +929,7 @@
    - [View source] + [View source]
    @@ -910,7 +945,7 @@
    - [View source] + [View source]
    @@ -931,7 +966,7 @@
    - [View source] + [View source]
    @@ -952,7 +987,7 @@
    - [View source] + [View source]
    @@ -973,7 +1008,7 @@
    - [View source] + [View source]
    @@ -994,7 +1029,7 @@
    - [View source] + [View source]
    @@ -1015,7 +1050,7 @@
    - [View source] + [View source]
    @@ -1031,7 +1066,7 @@
    - [View source] + [View source]
    diff --git a/Ameba/Issue/Status.html b/Ameba/Issue/Status.html index 629b844a..795b4667 100644 --- a/Ameba/Issue/Status.html +++ b/Ameba/Issue/Status.html @@ -606,6 +606,41 @@
  • +
  • + Spec + + + + +
  • +
  • Tokenizer @@ -656,7 +691,7 @@ - + ameba/issue.cr @@ -790,7 +825,7 @@
    - [View source] + [View source]
    @@ -806,7 +841,7 @@
    - [View source] + [View source]
    diff --git a/Ameba/Reportable.html b/Ameba/Reportable.html index 507c64a4..d5392e46 100644 --- a/Ameba/Reportable.html +++ b/Ameba/Reportable.html @@ -606,6 +606,41 @@
  • +
  • + Spec + + + + +
  • +
  • Tokenizer @@ -681,7 +716,7 @@ - + ameba/reportable.cr @@ -795,7 +830,7 @@
    - [View source] + [View source]
    @@ -816,7 +851,7 @@
    - [View source] + [View source]
    @@ -837,7 +872,7 @@
    - [View source] + [View source]
    @@ -858,7 +893,7 @@
    - [View source] + [View source]
    @@ -879,7 +914,7 @@
    - [View source] + [View source]
    @@ -900,7 +935,7 @@
    - [View source] + [View source]
    @@ -921,7 +956,7 @@
    - [View source] + [View source]
    diff --git a/Ameba/Rule.html b/Ameba/Rule.html index 4c370511..c9b10dff 100644 --- a/Ameba/Rule.html +++ b/Ameba/Rule.html @@ -606,6 +606,41 @@
  • +
  • + Spec + + + + +
  • +
  • Tokenizer @@ -656,7 +691,7 @@ - + ameba/rule/base.cr @@ -751,7 +786,7 @@ behave differently than usual rules.


    - [View source] + [View source]
    diff --git a/Ameba/Rule/Base.html b/Ameba/Rule/Base.html index 8e2e18ae..f3ec0c83 100644 --- a/Ameba/Rule/Base.html +++ b/Ameba/Rule/Base.html @@ -606,6 +606,41 @@
  • +
  • + Spec + + + + +
  • +
  • Tokenizer @@ -804,7 +839,7 @@ that are tested by this rule, it should add an issue.

    - + ameba/rule/base.cr @@ -1004,7 +1039,7 @@ that are tested by this rule, it should add an issue.


    - [View source] + [View source]
    @@ -1041,7 +1076,7 @@ that are tested by this rule, it should add an issue.


    - [View source] + [View source]
    @@ -1065,7 +1100,7 @@ source.valid?

    - [View source] + [View source]
    @@ -1089,7 +1124,7 @@ the one of the given source.


    - [View source] + [View source]
    @@ -1115,7 +1150,7 @@ the one of the given source.


    - [View source] + [View source]
    @@ -1145,7 +1180,7 @@ though usually the macro def_hash can be used to generate this meth
    - [View source] + [View source]
    @@ -1172,7 +1207,7 @@ though usually the macro def_hash can be used to generate this meth
    - [View source] + [View source]
    @@ -1195,7 +1230,7 @@ usual rules.


    - [View source] + [View source]
    @@ -1211,7 +1246,7 @@ usual rules.


    - [View source] + [View source]
    @@ -1235,7 +1270,7 @@ Must be overriten for other type of rules.


    - [View source] + [View source]
    @@ -1263,7 +1298,7 @@ Must be overriten for other type of rules.


    - [View source] + [View source]
    diff --git a/Ameba/Rule/Layout.html b/Ameba/Rule/Layout.html index e483e64c..d2abf39d 100644 --- a/Ameba/Rule/Layout.html +++ b/Ameba/Rule/Layout.html @@ -606,6 +606,41 @@
  • +
  • + Spec + + + + +
  • +
  • Tokenizer @@ -656,21 +691,21 @@ - + ameba/rule/layout/line_length.cr
    - + ameba/rule/layout/trailing_blank_lines.cr
    - + ameba/rule/layout/trailing_whitespace.cr diff --git a/Ameba/Rule/Layout/LineLength.html b/Ameba/Rule/Layout/LineLength.html index 6a1f22e1..29ae4a1c 100644 --- a/Ameba/Rule/Layout/LineLength.html +++ b/Ameba/Rule/Layout/LineLength.html @@ -606,6 +606,41 @@
  • +
  • + Spec + + + + +
  • +
  • Tokenizer @@ -689,7 +724,7 @@ - + ameba/rule/layout/line_length.cr @@ -979,7 +1014,7 @@
    - [View source] + [View source]
    @@ -1149,7 +1184,7 @@
    - [View source] + [View source]
    diff --git a/Ameba/Rule/Layout/TrailingBlankLines.html b/Ameba/Rule/Layout/TrailingBlankLines.html index 7f2b103e..293f2538 100644 --- a/Ameba/Rule/Layout/TrailingBlankLines.html +++ b/Ameba/Rule/Layout/TrailingBlankLines.html @@ -606,6 +606,41 @@
  • +
  • + Spec + + + + +
  • +
  • Tokenizer @@ -688,7 +723,7 @@ - + ameba/rule/layout/trailing_blank_lines.cr @@ -972,7 +1007,7 @@
    - [View source] + [View source]
    @@ -1114,7 +1149,7 @@
    - [View source] + [View source]
    diff --git a/Ameba/Rule/Layout/TrailingWhitespace.html b/Ameba/Rule/Layout/TrailingWhitespace.html index f1e9f512..1e67eb6e 100644 --- a/Ameba/Rule/Layout/TrailingWhitespace.html +++ b/Ameba/Rule/Layout/TrailingWhitespace.html @@ -606,6 +606,41 @@
  • +
  • + Spec + + + + +
  • +
  • Tokenizer @@ -688,7 +723,7 @@ - + ameba/rule/layout/trailing_whitespace.cr @@ -967,7 +1002,7 @@
    - [View source] + [View source]
    @@ -1109,7 +1144,7 @@
    - [View source] + [View source]
    diff --git a/Ameba/Rule/Lint.html b/Ameba/Rule/Lint.html index 3ac36b49..efde7777 100644 --- a/Ameba/Rule/Lint.html +++ b/Ameba/Rule/Lint.html @@ -606,6 +606,41 @@
  • +
  • + Spec + + + + +
  • +
  • Tokenizer @@ -656,189 +691,189 @@ - + ameba/rule/lint/ambiguous_assignment.cr
    - + ameba/rule/lint/bad_directive.cr
    - + ameba/rule/lint/comparison_to_boolean.cr
    - + ameba/rule/lint/debugger_statement.cr
    - + ameba/rule/lint/duplicated_require.cr
    - + ameba/rule/lint/empty_ensure.cr
    - + ameba/rule/lint/empty_expression.cr
    - + ameba/rule/lint/empty_loop.cr
    - + ameba/rule/lint/hash_duplicated_key.cr
    - + ameba/rule/lint/literal_in_condition.cr
    - + ameba/rule/lint/literal_in_interpolation.cr
    - + ameba/rule/lint/percent_array.cr
    - + ameba/rule/lint/rand_zero.cr
    - + ameba/rule/lint/redundant_string_coercion.cr
    - + ameba/rule/lint/redundant_with_index.cr
    - + ameba/rule/lint/redundant_with_object.cr
    - + ameba/rule/lint/shadowed_argument.cr
    - + ameba/rule/lint/shadowed_exception.cr
    - + ameba/rule/lint/shadowing_local_outer_var.cr
    - + ameba/rule/lint/shared_var_in_fiber.cr
    - + ameba/rule/lint/spec_focus.cr
    - + ameba/rule/lint/syntax.cr
    - + ameba/rule/lint/unneeded_disable_directive.cr
    - + ameba/rule/lint/unreachable_code.cr
    - + ameba/rule/lint/unused_argument.cr
    - + ameba/rule/lint/useless_assign.cr
    - + ameba/rule/lint/useless_condition_in_when.cr diff --git a/Ameba/Rule/Lint/AmbiguousAssignment.html b/Ameba/Rule/Lint/AmbiguousAssignment.html index 57e88073..3a0b8a54 100644 --- a/Ameba/Rule/Lint/AmbiguousAssignment.html +++ b/Ameba/Rule/Lint/AmbiguousAssignment.html @@ -606,6 +606,41 @@
  • +
  • + Spec + + + + +
  • +
  • Tokenizer @@ -699,7 +734,7 @@ x != y # or x = !y - + ameba/rule/lint/ambiguous_assignment.cr @@ -1051,7 +1086,7 @@ x != y # or x = !y
    - [View source] + [View source]
    @@ -1193,7 +1228,7 @@ x != y # or x = !y
    - [View source] + [View source]
    diff --git a/Ameba/Rule/Lint/BadDirective.html b/Ameba/Rule/Lint/BadDirective.html index fe0ba291..3fd6e474 100644 --- a/Ameba/Rule/Lint/BadDirective.html +++ b/Ameba/Rule/Lint/BadDirective.html @@ -606,6 +606,41 @@
  • +
  • + Spec + + + + +
  • +
  • Tokenizer @@ -694,7 +729,7 @@ to disable a rule that even doesn't exist:

    - + ameba/rule/lint/bad_directive.cr @@ -989,7 +1024,7 @@ to disable a rule that even doesn't exist:


    - [View source] + [View source]
    @@ -1131,7 +1166,7 @@ to disable a rule that even doesn't exist:


    - [View source] + [View source]
    diff --git a/Ameba/Rule/Lint/ComparisonToBoolean.html b/Ameba/Rule/Lint/ComparisonToBoolean.html index 4cc150d2..3abd2747 100644 --- a/Ameba/Rule/Lint/ComparisonToBoolean.html +++ b/Ameba/Rule/Lint/ComparisonToBoolean.html @@ -606,6 +606,41 @@
  • +
  • + Spec + + + + +
  • +
  • Tokenizer @@ -695,7 +730,7 @@ or negating the variable.

    - + ameba/rule/lint/comparison_to_boolean.cr @@ -986,7 +1021,7 @@ or negating the variable.


    - [View source] + [View source]
    @@ -1128,7 +1163,7 @@ or negating the variable.


    - [View source] + [View source]
    diff --git a/Ameba/Rule/Lint/DebuggerStatement.html b/Ameba/Rule/Lint/DebuggerStatement.html index 098d73e3..c2494fa2 100644 --- a/Ameba/Rule/Lint/DebuggerStatement.html +++ b/Ameba/Rule/Lint/DebuggerStatement.html @@ -606,6 +606,41 @@
  • +
  • + Spec + + + + +
  • +
  • Tokenizer @@ -690,7 +725,7 @@ committed into our codebase.

    - + ameba/rule/lint/debugger_statement.cr @@ -971,7 +1006,7 @@ committed into our codebase.


    - [View source] + [View source]
    @@ -1113,7 +1148,7 @@ committed into our codebase.


    - [View source] + [View source]
    diff --git a/Ameba/Rule/Lint/DuplicatedRequire.html b/Ameba/Rule/Lint/DuplicatedRequire.html index be257d2e..02fc2f83 100644 --- a/Ameba/Rule/Lint/DuplicatedRequire.html +++ b/Ameba/Rule/Lint/DuplicatedRequire.html @@ -606,6 +606,41 @@
  • +
  • + Spec + + + + +
  • +
  • Tokenizer @@ -691,7 +726,7 @@ - + ameba/rule/lint/duplicated_require.cr @@ -973,7 +1008,7 @@
    - [View source] + [View source]
    @@ -1115,7 +1150,7 @@
    - [View source] + [View source]
    diff --git a/Ameba/Rule/Lint/EmptyEnsure.html b/Ameba/Rule/Lint/EmptyEnsure.html index 9bda754d..cf4dbfb6 100644 --- a/Ameba/Rule/Lint/EmptyEnsure.html +++ b/Ameba/Rule/Lint/EmptyEnsure.html @@ -606,6 +606,41 @@
  • +
  • + Spec + + + + +
  • +
  • Tokenizer @@ -710,7 +745,7 @@ - + ameba/rule/lint/empty_ensure.cr @@ -1011,7 +1046,7 @@
    - [View source] + [View source]
    @@ -1153,7 +1188,7 @@
    - [View source] + [View source]
    diff --git a/Ameba/Rule/Lint/EmptyExpression.html b/Ameba/Rule/Lint/EmptyExpression.html index 7a056d60..9fb860af 100644 --- a/Ameba/Rule/Lint/EmptyExpression.html +++ b/Ameba/Rule/Lint/EmptyExpression.html @@ -606,6 +606,41 @@
  • +
  • + Spec + + + + +
  • +
  • Tokenizer @@ -702,7 +737,7 @@ - + ameba/rule/lint/empty_expression.cr @@ -1062,7 +1097,7 @@
    - [View source] + [View source]
    @@ -1204,7 +1239,7 @@
    - [View source] + [View source]
    @@ -1220,7 +1255,7 @@
    - [View source] + [View source]
    diff --git a/Ameba/Rule/Lint/EmptyLoop.html b/Ameba/Rule/Lint/EmptyLoop.html index 81e3e560..28e66319 100644 --- a/Ameba/Rule/Lint/EmptyLoop.html +++ b/Ameba/Rule/Lint/EmptyLoop.html @@ -606,6 +606,41 @@
  • +
  • + Spec + + + + +
  • +
  • Tokenizer @@ -712,7 +747,7 @@ loop do - + ameba/rule/lint/empty_loop.cr @@ -1082,7 +1117,7 @@ loop do
    - [View source] + [View source]
    @@ -1224,7 +1259,7 @@ loop do
    - [View source] + [View source]
    @@ -1240,7 +1275,7 @@ loop do
    - [View source] + [View source]
    @@ -1256,7 +1291,7 @@ loop do
    - [View source] + [View source]
    diff --git a/Ameba/Rule/Lint/HashDuplicatedKey.html b/Ameba/Rule/Lint/HashDuplicatedKey.html index daab7d2c..4eeadebd 100644 --- a/Ameba/Rule/Lint/HashDuplicatedKey.html +++ b/Ameba/Rule/Lint/HashDuplicatedKey.html @@ -606,6 +606,41 @@
  • +
  • + Spec + + + + +
  • +
  • Tokenizer @@ -692,7 +727,7 @@ - + ameba/rule/lint/hash_duplicated_key.cr @@ -975,7 +1010,7 @@
    - [View source] + [View source]
    @@ -1117,7 +1152,7 @@
    - [View source] + [View source]
    diff --git a/Ameba/Rule/Lint/LiteralInCondition.html b/Ameba/Rule/Lint/LiteralInCondition.html index f7774679..41648dd7 100644 --- a/Ameba/Rule/Lint/LiteralInCondition.html +++ b/Ameba/Rule/Lint/LiteralInCondition.html @@ -606,6 +606,41 @@
  • +
  • + Spec + + + + +
  • +
  • Tokenizer @@ -698,7 +733,7 @@ replaced with either the body of the construct, or deleted entirely.

    - + ameba/rule/lint/literal_in_condition.cr @@ -1059,7 +1094,7 @@ replaced with either the body of the construct, or deleted entirely.


    - [View source] + [View source]
    @@ -1089,7 +1124,7 @@ replaced with either the body of the construct, or deleted entirely.


    - [View source] + [View source]
    @@ -1217,7 +1252,7 @@ replaced with either the body of the construct, or deleted entirely.


    - [View source] + [View source]
    @@ -1233,7 +1268,7 @@ replaced with either the body of the construct, or deleted entirely.


    - [View source] + [View source]
    @@ -1249,7 +1284,7 @@ replaced with either the body of the construct, or deleted entirely.


    - [View source] + [View source]
    diff --git a/Ameba/Rule/Lint/LiteralInInterpolation.html b/Ameba/Rule/Lint/LiteralInInterpolation.html index 50122b4e..6c986079 100644 --- a/Ameba/Rule/Lint/LiteralInInterpolation.html +++ b/Ameba/Rule/Lint/LiteralInInterpolation.html @@ -606,6 +606,41 @@
  • +
  • + Spec + + + + +
  • +
  • Tokenizer @@ -694,7 +729,7 @@ that contain a literal value instead of a variable or function.

    - + ameba/rule/lint/literal_in_interpolation.cr @@ -1036,7 +1071,7 @@ that contain a literal value instead of a variable or function.


    - [View source] + [View source]
    @@ -1178,7 +1213,7 @@ that contain a literal value instead of a variable or function.


    - [View source] + [View source]
    diff --git a/Ameba/Rule/Lint/PercentArrays.html b/Ameba/Rule/Lint/PercentArrays.html index 5a95f607..7aa1d8ec 100644 --- a/Ameba/Rule/Lint/PercentArrays.html +++ b/Ameba/Rule/Lint/PercentArrays.html @@ -606,6 +606,41 @@
  • +
  • + Spec + + + + +
  • +
  • Tokenizer @@ -696,7 +731,7 @@ - + ameba/rule/lint/percent_array.cr @@ -1003,7 +1038,7 @@
    - [View source] + [View source]
    @@ -1201,7 +1236,7 @@
    - [View source] + [View source]
    diff --git a/Ameba/Rule/Lint/RandZero.html b/Ameba/Rule/Lint/RandZero.html index ac979505..13f1f779 100644 --- a/Ameba/Rule/Lint/RandZero.html +++ b/Ameba/Rule/Lint/RandZero.html @@ -606,6 +606,41 @@
  • +
  • + Spec + + + + +
  • +
  • Tokenizer @@ -695,7 +730,7 @@ rand(2) - + ameba/rule/lint/rand_zero.cr @@ -981,7 +1016,7 @@ rand(2)
    - [View source] + [View source]
    @@ -1123,7 +1158,7 @@ rand(2)
    - [View source] + [View source]
    diff --git a/Ameba/Rule/Lint/RedundantStringCoercion.html b/Ameba/Rule/Lint/RedundantStringCoercion.html index 62ac4381..8baa1e0e 100644 --- a/Ameba/Rule/Lint/RedundantStringCoercion.html +++ b/Ameba/Rule/Lint/RedundantStringCoercion.html @@ -606,6 +606,41 @@
  • +
  • + Spec + + + + +
  • +
  • Tokenizer @@ -695,7 +730,7 @@ which is redundant.

    - + ameba/rule/lint/redundant_string_coercion.cr @@ -1038,7 +1073,7 @@ which is redundant.


    - [View source] + [View source]
    @@ -1180,7 +1215,7 @@ which is redundant.


    - [View source] + [View source]
    diff --git a/Ameba/Rule/Lint/RedundantWithIndex.html b/Ameba/Rule/Lint/RedundantWithIndex.html index b37b673e..da26086b 100644 --- a/Ameba/Rule/Lint/RedundantWithIndex.html +++ b/Ameba/Rule/Lint/RedundantWithIndex.html @@ -606,6 +606,41 @@
  • +
  • + Spec + + + + +
  • +
  • Tokenizer @@ -700,7 +735,7 @@ collection.each_with_index do |e, - + ameba/rule/lint/redundant_with_index.cr @@ -972,7 +1007,7 @@ collection.each_with_index do |e,
    - [View source] + [View source]
    @@ -1114,7 +1149,7 @@ collection.each_with_index do |e,
    - [View source] + [View source]
    diff --git a/Ameba/Rule/Lint/RedundantWithObject.html b/Ameba/Rule/Lint/RedundantWithObject.html index e36da859..d18e94f1 100644 --- a/Ameba/Rule/Lint/RedundantWithObject.html +++ b/Ameba/Rule/Lint/RedundantWithObject.html @@ -606,6 +606,41 @@
  • +
  • + Spec + + + + +
  • +
  • Tokenizer @@ -700,7 +735,7 @@ collection.each_with_object(0) do - + ameba/rule/lint/redundant_with_object.cr @@ -991,7 +1026,7 @@ collection.each_with_object(0) do
    - [View source] + [View source]
    @@ -1133,7 +1168,7 @@ collection.each_with_object(0) do
    - [View source] + [View source]
    diff --git a/Ameba/Rule/Lint/ShadowedArgument.html b/Ameba/Rule/Lint/ShadowedArgument.html index 9f345f92..bb2a399d 100644 --- a/Ameba/Rule/Lint/ShadowedArgument.html +++ b/Ameba/Rule/Lint/ShadowedArgument.html @@ -606,6 +606,41 @@
  • +
  • + Spec + + + + +
  • +
  • Tokenizer @@ -708,7 +743,7 @@ - + ameba/rule/lint/shadowed_argument.cr @@ -1012,7 +1047,7 @@
    - [View source] + [View source]
    @@ -1154,7 +1189,7 @@
    - [View source] + [View source]
    @@ -1170,7 +1205,7 @@
    - [View source] + [View source]
    diff --git a/Ameba/Rule/Lint/ShadowedException.html b/Ameba/Rule/Lint/ShadowedException.html index 279f37fc..841f6a5e 100644 --- a/Ameba/Rule/Lint/ShadowedException.html +++ b/Ameba/Rule/Lint/ShadowedException.html @@ -606,6 +606,41 @@
  • +
  • + Spec + + + + +
  • +
  • Tokenizer @@ -706,7 +741,7 @@ exception is rescued.

    - + ameba/rule/lint/shadowed_exception.cr @@ -1003,7 +1038,7 @@ exception is rescued.


    - [View source] + [View source]
    @@ -1145,7 +1180,7 @@ exception is rescued.


    - [View source] + [View source]
    diff --git a/Ameba/Rule/Lint/ShadowingOuterLocalVar.html b/Ameba/Rule/Lint/ShadowingOuterLocalVar.html index 5baef1df..ccb6b331 100644 --- a/Ameba/Rule/Lint/ShadowingOuterLocalVar.html +++ b/Ameba/Rule/Lint/ShadowingOuterLocalVar.html @@ -606,6 +606,41 @@
  • +
  • + Spec + + + + +
  • +
  • Tokenizer @@ -703,7 +738,7 @@ for block or proc arguments.

    - + ameba/rule/lint/shadowing_local_outer_var.cr @@ -1007,7 +1042,7 @@ for block or proc arguments.


    - [View source] + [View source]
    @@ -1149,7 +1184,7 @@ for block or proc arguments.


    - [View source] + [View source]
    @@ -1165,7 +1200,7 @@ for block or proc arguments.


    - [View source] + [View source]
    @@ -1181,7 +1216,7 @@ for block or proc arguments.


    - [View source] + [View source]
    diff --git a/Ameba/Rule/Lint/SharedVarInFiber.html b/Ameba/Rule/Lint/SharedVarInFiber.html index c1f2a098..8f7186f7 100644 --- a/Ameba/Rule/Lint/SharedVarInFiber.html +++ b/Ameba/Rule/Lint/SharedVarInFiber.html @@ -606,6 +606,41 @@
  • +
  • + Spec + + + + +
  • +
  • Tokenizer @@ -718,7 +753,7 @@ the second one.

    - + ameba/rule/lint/shared_var_in_fiber.cr @@ -1032,7 +1067,7 @@ the second one.


    - [View source] + [View source]
    @@ -1174,7 +1209,7 @@ the second one.


    - [View source] + [View source]
    @@ -1190,7 +1225,7 @@ the second one.


    - [View source] + [View source]
    diff --git a/Ameba/Rule/Lint/SpecFocus.html b/Ameba/Rule/Lint/SpecFocus.html index 18ee116c..d75315d1 100644 --- a/Ameba/Rule/Lint/SpecFocus.html +++ b/Ameba/Rule/Lint/SpecFocus.html @@ -606,6 +606,41 @@
  • +
  • + Spec + + + + +
  • +
  • Tokenizer @@ -716,7 +751,7 @@ it "works" do - + ameba/rule/lint/spec_focus.cr @@ -1033,7 +1068,7 @@ it "works" do
    - [View source] + [View source]
    @@ -1175,7 +1210,7 @@ it "works" do
    - [View source] + [View source]
    @@ -1191,7 +1226,7 @@ it "works" do
    - [View source] + [View source]
    diff --git a/Ameba/Rule/Lint/Syntax.html b/Ameba/Rule/Lint/Syntax.html index ec961371..d8f2bed4 100644 --- a/Ameba/Rule/Lint/Syntax.html +++ b/Ameba/Rule/Lint/Syntax.html @@ -606,6 +606,41 @@
  • +
  • + Spec + + + + +
  • +
  • Tokenizer @@ -695,7 +730,7 @@ - + ameba/rule/lint/syntax.cr @@ -962,7 +997,7 @@
    - [View source] + [View source]
    @@ -1104,7 +1139,7 @@
    - [View source] + [View source]
    diff --git a/Ameba/Rule/Lint/UnneededDisableDirective.html b/Ameba/Rule/Lint/UnneededDisableDirective.html index bf2fd3db..85113da5 100644 --- a/Ameba/Rule/Lint/UnneededDisableDirective.html +++ b/Ameba/Rule/Lint/UnneededDisableDirective.html @@ -606,6 +606,41 @@
  • +
  • + Spec + + + + +
  • +
  • Tokenizer @@ -698,7 +733,7 @@ have any effect, the snippet should be written as the following:

    - + ameba/rule/lint/unneeded_disable_directive.cr @@ -987,7 +1022,7 @@ have any effect, the snippet should be written as the following:


    - [View source] + [View source]
    @@ -1129,7 +1164,7 @@ have any effect, the snippet should be written as the following:


    - [View source] + [View source]
    diff --git a/Ameba/Rule/Lint/UnreachableCode.html b/Ameba/Rule/Lint/UnreachableCode.html index b665e3c2..1b3912f1 100644 --- a/Ameba/Rule/Lint/UnreachableCode.html +++ b/Ameba/Rule/Lint/UnreachableCode.html @@ -606,6 +606,41 @@
  • +
  • + Spec + + + + +
  • +
  • Tokenizer @@ -710,7 +745,7 @@ loop do - + ameba/rule/lint/unreachable_code.cr @@ -1073,7 +1108,7 @@ loop do
    - [View source] + [View source]
    @@ -1215,7 +1250,7 @@ loop do
    - [View source] + [View source]
    @@ -1231,7 +1266,7 @@ loop do
    - [View source] + [View source]
    diff --git a/Ameba/Rule/Lint/UnusedArgument.html b/Ameba/Rule/Lint/UnusedArgument.html index 89936c68..73d76497 100644 --- a/Ameba/Rule/Lint/UnusedArgument.html +++ b/Ameba/Rule/Lint/UnusedArgument.html @@ -606,6 +606,41 @@
  • +
  • + Spec + + + + +
  • +
  • Tokenizer @@ -699,7 +734,7 @@ For example, this is considered invalid:

    - + ameba/rule/lint/unused_argument.cr @@ -1034,7 +1069,7 @@ For example, this is considered invalid:


    - [View source] + [View source]
    @@ -1260,7 +1295,7 @@ For example, this is considered invalid:


    - [View source] + [View source]
    @@ -1276,7 +1311,7 @@ For example, this is considered invalid:


    - [View source] + [View source]
    @@ -1292,7 +1327,7 @@ For example, this is considered invalid:


    - [View source] + [View source]
    @@ -1308,7 +1343,7 @@ For example, this is considered invalid:


    - [View source] + [View source]
    diff --git a/Ameba/Rule/Lint/UselessAssign.html b/Ameba/Rule/Lint/UselessAssign.html index 7f6572be..133a21a7 100644 --- a/Ameba/Rule/Lint/UselessAssign.html +++ b/Ameba/Rule/Lint/UselessAssign.html @@ -606,6 +606,41 @@
  • +
  • + Spec + + + + +
  • +
  • Tokenizer @@ -698,7 +733,7 @@ - + ameba/rule/lint/useless_assign.cr @@ -992,7 +1027,7 @@
    - [View source] + [View source]
    @@ -1134,7 +1169,7 @@
    - [View source] + [View source]
    @@ -1150,7 +1185,7 @@
    - [View source] + [View source]
    diff --git a/Ameba/Rule/Lint/UselessConditionInWhen.html b/Ameba/Rule/Lint/UselessConditionInWhen.html index 38266a4b..2ef090b0 100644 --- a/Ameba/Rule/Lint/UselessConditionInWhen.html +++ b/Ameba/Rule/Lint/UselessConditionInWhen.html @@ -606,6 +606,41 @@
  • +
  • + Spec + + + + +
  • +
  • Tokenizer @@ -703,7 +738,7 @@ where it is guaranteed to always return the same result.

    - + ameba/rule/lint/useless_condition_in_when.cr @@ -997,7 +1032,7 @@ where it is guaranteed to always return the same result.


    - [View source] + [View source]
    @@ -1139,7 +1174,7 @@ where it is guaranteed to always return the same result.


    - [View source] + [View source]
    diff --git a/Ameba/Rule/Metrics.html b/Ameba/Rule/Metrics.html index e20e7755..25aadcf7 100644 --- a/Ameba/Rule/Metrics.html +++ b/Ameba/Rule/Metrics.html @@ -606,6 +606,41 @@
  • +
  • + Spec + + + + +
  • +
  • Tokenizer @@ -656,7 +691,7 @@ - + ameba/rule/metrics/cyclomatic_complexity.cr diff --git a/Ameba/Rule/Metrics/CyclomaticComplexity.html b/Ameba/Rule/Metrics/CyclomaticComplexity.html index d50ff8ea..e0aa345a 100644 --- a/Ameba/Rule/Metrics/CyclomaticComplexity.html +++ b/Ameba/Rule/Metrics/CyclomaticComplexity.html @@ -606,6 +606,41 @@
  • +
  • + Spec + + + + +
  • +
  • Tokenizer @@ -689,7 +724,7 @@ - + ameba/rule/metrics/cyclomatic_complexity.cr @@ -979,7 +1014,7 @@
    - [View source] + [View source]
    @@ -1149,7 +1184,7 @@
    - [View source] + [View source]
    diff --git a/Ameba/Rule/Performance.html b/Ameba/Rule/Performance.html index 0f6c8a9d..98b51cdf 100644 --- a/Ameba/Rule/Performance.html +++ b/Ameba/Rule/Performance.html @@ -606,6 +606,41 @@
  • +
  • + Spec + + + + +
  • +
  • Tokenizer @@ -656,63 +691,63 @@ - + ameba/rule/performance/any_after_filter.cr
    - + ameba/rule/performance/any_instead_of_empty.cr
    - + ameba/rule/performance/base.cr
    - + ameba/rule/performance/chained_call_with_no_bang.cr
    - + ameba/rule/performance/compact_after_map.cr
    - + ameba/rule/performance/first_last_after_filter.cr
    - + ameba/rule/performance/flatten_after_map.cr
    - + ameba/rule/performance/map_instead_of_block.cr
    - + ameba/rule/performance/size_after_filter.cr diff --git a/Ameba/Rule/Performance/AnyAfterFilter.html b/Ameba/Rule/Performance/AnyAfterFilter.html index b83f4376..10a07a26 100644 --- a/Ameba/Rule/Performance/AnyAfterFilter.html +++ b/Ameba/Rule/Performance/AnyAfterFilter.html @@ -606,6 +606,41 @@
  • +
  • + Spec + + + + +
  • +
  • Tokenizer @@ -697,7 +732,7 @@ - + ameba/rule/performance/any_after_filter.cr @@ -1067,7 +1102,7 @@
    - [View source] + [View source]
    @@ -1237,7 +1272,7 @@
    - [View source] + [View source]
    diff --git a/Ameba/Rule/Performance/AnyInsteadOfEmpty.html b/Ameba/Rule/Performance/AnyInsteadOfEmpty.html index f426fe6f..69cba9cd 100644 --- a/Ameba/Rule/Performance/AnyInsteadOfEmpty.html +++ b/Ameba/Rule/Performance/AnyInsteadOfEmpty.html @@ -606,6 +606,41 @@
  • +
  • + Spec + + + + +
  • +
  • Tokenizer @@ -697,7 +732,7 @@ one value present.

    - + ameba/rule/performance/any_instead_of_empty.cr @@ -1057,7 +1092,7 @@ one value present.


    - [View source] + [View source]
    @@ -1199,7 +1234,7 @@ one value present.


    - [View source] + [View source]
    diff --git a/Ameba/Rule/Performance/Base.html b/Ameba/Rule/Performance/Base.html index 05e5c6a0..ddcef1aa 100644 --- a/Ameba/Rule/Performance/Base.html +++ b/Ameba/Rule/Performance/Base.html @@ -606,6 +606,41 @@
  • +
  • + Spec + + + + +
  • +
  • Tokenizer @@ -713,7 +748,7 @@ - + ameba/rule/performance/base.cr @@ -932,7 +967,7 @@
    - [View source] + [View source]
    @@ -974,7 +1009,7 @@ source.valid?
    - [View source] + [View source]
    diff --git a/Ameba/Rule/Performance/ChainedCallWithNoBang.html b/Ameba/Rule/Performance/ChainedCallWithNoBang.html index 7a033152..ee4cb5d7 100644 --- a/Ameba/Rule/Performance/ChainedCallWithNoBang.html +++ b/Ameba/Rule/Performance/ChainedCallWithNoBang.html @@ -606,6 +606,41 @@
  • +
  • + Spec + + + + +
  • +
  • Tokenizer @@ -707,7 +742,7 @@ chars = names - + ameba/rule/performance/chained_call_with_no_bang.cr @@ -1106,7 +1141,7 @@ chars = names
    - [View source] + [View source]
    @@ -1276,7 +1311,7 @@ chars = names
    - [View source] + [View source]
    @@ -1292,7 +1327,7 @@ chars = names
    - [View source] + [View source]
    diff --git a/Ameba/Rule/Performance/CompactAfterMap.html b/Ameba/Rule/Performance/CompactAfterMap.html index e8e66cdc..347bbc76 100644 --- a/Ameba/Rule/Performance/CompactAfterMap.html +++ b/Ameba/Rule/Performance/CompactAfterMap.html @@ -606,6 +606,41 @@
  • +
  • + Spec + + + + +
  • +
  • Tokenizer @@ -692,7 +727,7 @@ - + ameba/rule/performance/compact_after_map.cr @@ -1052,7 +1087,7 @@
    - [View source] + [View source]
    @@ -1194,7 +1229,7 @@
    - [View source] + [View source]
    @@ -1210,7 +1245,7 @@
    - [View source] + [View source]
    diff --git a/Ameba/Rule/Performance/FirstLastAfterFilter.html b/Ameba/Rule/Performance/FirstLastAfterFilter.html index 7970e395..4e31978e 100644 --- a/Ameba/Rule/Performance/FirstLastAfterFilter.html +++ b/Ameba/Rule/Performance/FirstLastAfterFilter.html @@ -606,6 +606,41 @@
  • +
  • + Spec + + + + +
  • +
  • Tokenizer @@ -696,7 +731,7 @@ - + ameba/rule/performance/first_last_after_filter.cr @@ -1074,7 +1109,7 @@
    - [View source] + [View source]
    @@ -1244,7 +1279,7 @@
    - [View source] + [View source]
    @@ -1260,7 +1295,7 @@
    - [View source] + [View source]
    diff --git a/Ameba/Rule/Performance/FlattenAfterMap.html b/Ameba/Rule/Performance/FlattenAfterMap.html index b149a06c..6494fff6 100644 --- a/Ameba/Rule/Performance/FlattenAfterMap.html +++ b/Ameba/Rule/Performance/FlattenAfterMap.html @@ -606,6 +606,41 @@
  • +
  • + Spec + + + + +
  • +
  • Tokenizer @@ -692,7 +727,7 @@ - + ameba/rule/performance/flatten_after_map.cr @@ -1052,7 +1087,7 @@
    - [View source] + [View source]
    @@ -1194,7 +1229,7 @@
    - [View source] + [View source]
    @@ -1210,7 +1245,7 @@
    - [View source] + [View source]
    diff --git a/Ameba/Rule/Performance/MapInsteadOfBlock.html b/Ameba/Rule/Performance/MapInsteadOfBlock.html index 4237dccf..4042e645 100644 --- a/Ameba/Rule/Performance/MapInsteadOfBlock.html +++ b/Ameba/Rule/Performance/MapInsteadOfBlock.html @@ -606,6 +606,41 @@
  • +
  • + Spec + + + + +
  • +
  • Tokenizer @@ -693,7 +728,7 @@ that follow map.

    - + ameba/rule/performance/map_instead_of_block.cr @@ -1055,7 +1090,7 @@ that follow map.


    - [View source] + [View source]
    @@ -1197,7 +1232,7 @@ that follow map.


    - [View source] + [View source]
    @@ -1213,7 +1248,7 @@ that follow map.


    - [View source] + [View source]
    diff --git a/Ameba/Rule/Performance/SizeAfterFilter.html b/Ameba/Rule/Performance/SizeAfterFilter.html index 7e45d424..101594c4 100644 --- a/Ameba/Rule/Performance/SizeAfterFilter.html +++ b/Ameba/Rule/Performance/SizeAfterFilter.html @@ -606,6 +606,41 @@
  • +
  • + Spec + + + + +
  • +
  • Tokenizer @@ -703,7 +738,7 @@ - + ameba/rule/performance/size_after_filter.cr @@ -1090,7 +1125,7 @@
    - [View source] + [View source]
    @@ -1260,7 +1295,7 @@
    - [View source] + [View source]
    @@ -1276,7 +1311,7 @@
    - [View source] + [View source]
    diff --git a/Ameba/Rule/Style.html b/Ameba/Rule/Style.html index 9289ae80..11fd8bf3 100644 --- a/Ameba/Rule/Style.html +++ b/Ameba/Rule/Style.html @@ -606,6 +606,41 @@
  • +
  • + Spec + + + + +
  • +
  • Tokenizer @@ -656,105 +691,105 @@ - + ameba/rule/style/constant_names.cr
    - + ameba/rule/style/is_a_filter.cr
    - + ameba/rule/style/is_a_nil.cr
    - + ameba/rule/style/large_numbers.cr
    - + ameba/rule/style/method_names.cr
    - + ameba/rule/style/negated_conditions_in_unless.cr
    - + ameba/rule/style/predicate_name.cr
    - + ameba/rule/style/redundant_begin.cr
    - + ameba/rule/style/redundant_next.cr
    - + ameba/rule/style/redundant_return.cr
    - + ameba/rule/style/type_names.cr
    - + ameba/rule/style/unless_else.cr
    - + ameba/rule/style/variable_names.cr
    - + ameba/rule/style/verbose_block.cr
    - + ameba/rule/style/while_true.cr diff --git a/Ameba/Rule/Style/ConstantNames.html b/Ameba/Rule/Style/ConstantNames.html index 1973cc22..016144f6 100644 --- a/Ameba/Rule/Style/ConstantNames.html +++ b/Ameba/Rule/Style/ConstantNames.html @@ -606,6 +606,41 @@
  • +
  • + Spec + + + + +
  • +
  • Tokenizer @@ -694,7 +729,7 @@ - + ameba/rule/style/constant_names.cr @@ -979,7 +1014,7 @@
    - [View source] + [View source]
    @@ -1121,7 +1156,7 @@
    - [View source] + [View source]
    diff --git a/Ameba/Rule/Style/IsAFilter.html b/Ameba/Rule/Style/IsAFilter.html index 3448faa8..93507b78 100644 --- a/Ameba/Rule/Style/IsAFilter.html +++ b/Ameba/Rule/Style/IsAFilter.html @@ -606,6 +606,41 @@
  • +
  • + Spec + + + + +
  • +
  • Tokenizer @@ -711,7 +746,7 @@ matches.one?(Nil) # => tr - + ameba/rule/style/is_a_filter.cr @@ -1028,7 +1063,7 @@ matches.one?(Nil) # => tr
    - [View source] + [View source]
    @@ -1198,7 +1233,7 @@ matches.one?(Nil) # => tr
    @@ -1214,7 +1249,7 @@ matches.one?(Nil) # => tr
    diff --git a/Ameba/Rule/Style/IsANil.html b/Ameba/Rule/Style/IsANil.html index 23ffe70d..7f54eb9a 100644 --- a/Ameba/Rule/Style/IsANil.html +++ b/Ameba/Rule/Style/IsANil.html @@ -606,6 +606,41 @@
  • +
  • + Spec + + + + +
  • +
  • Tokenizer @@ -692,7 +727,7 @@ - + ameba/rule/style/is_a_nil.cr @@ -980,7 +1015,7 @@
    - [View source] + [View source]
    @@ -1122,7 +1157,7 @@
    - [View source] + [View source]
    diff --git a/Ameba/Rule/Style/LargeNumbers.html b/Ameba/Rule/Style/LargeNumbers.html index d783dab3..92db52c8 100644 --- a/Ameba/Rule/Style/LargeNumbers.html +++ b/Ameba/Rule/Style/LargeNumbers.html @@ -606,6 +606,41 @@
  • +
  • + Spec + + + + +
  • +
  • Tokenizer @@ -699,7 +734,7 @@ large numbers more easily.

    - + ameba/rule/style/large_numbers.cr @@ -999,7 +1034,7 @@ large numbers more easily.


    - [View source] + [View source]
    @@ -1169,7 +1204,7 @@ large numbers more easily.


    - [View source] + [View source]
    diff --git a/Ameba/Rule/Style/MethodNames.html b/Ameba/Rule/Style/MethodNames.html index eaac8cb7..f47e98d6 100644 --- a/Ameba/Rule/Style/MethodNames.html +++ b/Ameba/Rule/Style/MethodNames.html @@ -606,6 +606,41 @@
  • +
  • + Spec + + + + +
  • +
  • Tokenizer @@ -710,7 +745,7 @@ - + ameba/rule/style/method_names.cr @@ -1011,7 +1046,7 @@
    - [View source] + [View source]
    @@ -1153,7 +1188,7 @@
    - [View source] + [View source]
    diff --git a/Ameba/Rule/Style/NegatedConditionsInUnless.html b/Ameba/Rule/Style/NegatedConditionsInUnless.html index b2354759..d342750c 100644 --- a/Ameba/Rule/Style/NegatedConditionsInUnless.html +++ b/Ameba/Rule/Style/NegatedConditionsInUnless.html @@ -606,6 +606,41 @@
  • +
  • + Spec + + + + +
  • +
  • Tokenizer @@ -698,7 +733,7 @@ that is executed if a negated condition is NOT met.

    - + ameba/rule/style/negated_conditions_in_unless.cr @@ -987,7 +1022,7 @@ that is executed if a negated condition is NOT met.


    - [View source] + [View source]
    @@ -1129,7 +1164,7 @@ that is executed if a negated condition is NOT met.


    - [View source] + [View source]
    diff --git a/Ameba/Rule/Style/PredicateName.html b/Ameba/Rule/Style/PredicateName.html index 0e0d296e..ed05acdc 100644 --- a/Ameba/Rule/Style/PredicateName.html +++ b/Ameba/Rule/Style/PredicateName.html @@ -606,6 +606,41 @@
  • +
  • + Spec + + + + +
  • +
  • Tokenizer @@ -701,7 +736,7 @@ start with the prefix has_ or the prefix is_. Ignores - + ameba/rule/style/predicate_name.cr @@ -993,7 +1028,7 @@ start with the prefix has_ or the prefix is_. Ignores
    - [View source] + [View source]
    @@ -1135,7 +1170,7 @@ start with the prefix has_ or the prefix is_. Ignores
    - [View source] + [View source]
    diff --git a/Ameba/Rule/Style/RedundantBegin.html b/Ameba/Rule/Style/RedundantBegin.html index ec782b75..cdbcfce1 100644 --- a/Ameba/Rule/Style/RedundantBegin.html +++ b/Ameba/Rule/Style/RedundantBegin.html @@ -606,6 +606,41 @@
  • +
  • + Spec + + + + +
  • +
  • Tokenizer @@ -723,7 +758,7 @@ - + ameba/rule/style/redundant_begin.cr @@ -1094,7 +1129,7 @@
    - [View source] + [View source]
    @@ -1236,7 +1271,7 @@
    - [View source] + [View source]
    diff --git a/Ameba/Rule/Style/RedundantNext.html b/Ameba/Rule/Style/RedundantNext.html index de10259a..23c94578 100644 --- a/Ameba/Rule/Style/RedundantNext.html +++ b/Ameba/Rule/Style/RedundantNext.html @@ -606,6 +606,41 @@
  • +
  • + Spec + + + + +
  • +
  • Tokenizer @@ -756,7 +791,7 @@ without arguments. Sometimes such statements are used to yild the nil - + ameba/rule/style/redundant_next.cr @@ -1128,7 +1163,7 @@ without arguments. Sometimes such statements are used to yild the nil
    - [View source] + [View source]
    @@ -1326,7 +1361,7 @@ without arguments. Sometimes such statements are used to yild the nil @@ -1342,7 +1377,7 @@ without arguments. Sometimes such statements are used to yild the nil diff --git a/Ameba/Rule/Style/RedundantReturn.html b/Ameba/Rule/Style/RedundantReturn.html index cf9ebcb3..398fa1fb 100644 --- a/Ameba/Rule/Style/RedundantReturn.html +++ b/Ameba/Rule/Style/RedundantReturn.html @@ -606,6 +606,41 @@
  • +
  • + Spec + + + + +
  • +
  • Tokenizer @@ -753,7 +788,7 @@ without arguments. Sometimes such returns are used to return the nil - + ameba/rule/style/redundant_return.cr @@ -1122,7 +1157,7 @@ without arguments. Sometimes such returns are used to return the nil @@ -1320,7 +1355,7 @@ without arguments. Sometimes such returns are used to return the nil @@ -1336,7 +1371,7 @@ without arguments. Sometimes such returns are used to return the nil diff --git a/Ameba/Rule/Style/TypeNames.html b/Ameba/Rule/Style/TypeNames.html index 0fe40c70..5b6d6f1d 100644 --- a/Ameba/Rule/Style/TypeNames.html +++ b/Ameba/Rule/Style/TypeNames.html @@ -606,6 +606,41 @@
  • +
  • + Spec + + + + +
  • +
  • Tokenizer @@ -724,7 +759,7 @@ - + ameba/rule/style/type_names.cr @@ -1059,7 +1094,7 @@
    @@ -1201,7 +1236,7 @@
    @@ -1217,7 +1252,7 @@
    @@ -1233,7 +1268,7 @@
    @@ -1249,7 +1284,7 @@
    @@ -1265,7 +1300,7 @@
    diff --git a/Ameba/Rule/Style/UnlessElse.html b/Ameba/Rule/Style/UnlessElse.html index db620562..e4af9218 100644 --- a/Ameba/Rule/Style/UnlessElse.html +++ b/Ameba/Rule/Style/UnlessElse.html @@ -606,6 +606,41 @@
  • +
  • + Spec + + + + +
  • +
  • Tokenizer @@ -711,7 +746,7 @@ an if, so the previous invalid example would become this:

    - + ameba/rule/style/unless_else.cr @@ -1013,7 +1048,7 @@ an if, so the previous invalid example would become this:


    @@ -1155,7 +1190,7 @@ an if, so the previous invalid example would become this:


    diff --git a/Ameba/Rule/Style/VariableNames.html b/Ameba/Rule/Style/VariableNames.html index c0b9cda3..0ae35400 100644 --- a/Ameba/Rule/Style/VariableNames.html +++ b/Ameba/Rule/Style/VariableNames.html @@ -606,6 +606,41 @@
  • +
  • + Spec + + + + +
  • +
  • Tokenizer @@ -695,7 +730,7 @@ wrong_Name = 2 - + ameba/rule/style/variable_names.cr @@ -991,7 +1026,7 @@ wrong_Name = 2
    - [View source] + [View source]
    @@ -1133,7 +1168,7 @@ wrong_Name = 2
    - [View source] + [View source]
    @@ -1149,7 +1184,7 @@ wrong_Name = 2
    - [View source] + [View source]
    @@ -1165,7 +1200,7 @@ wrong_Name = 2
    - [View source] + [View source]
    diff --git a/Ameba/Rule/Style/VerboseBlock.html b/Ameba/Rule/Style/VerboseBlock.html index ae996501..d234585f 100644 --- a/Ameba/Rule/Style/VerboseBlock.html +++ b/Ameba/Rule/Style/VerboseBlock.html @@ -606,6 +606,41 @@
  • +
  • + Spec + + + + +
  • +
  • Tokenizer @@ -700,7 +735,7 @@ argument as a receiver, that can be collapsed into a short form.

    - + ameba/rule/style/verbose_block.cr @@ -1066,7 +1101,7 @@ argument as a receiver, that can be collapsed into a short form.


    - [View source] + [View source]
    @@ -1404,7 +1439,7 @@ argument as a receiver, that can be collapsed into a short form.


    - [View source] + [View source]
    diff --git a/Ameba/Rule/Style/WhileTrue.html b/Ameba/Rule/Style/WhileTrue.html index 84368a9c..1dc6680c 100644 --- a/Ameba/Rule/Style/WhileTrue.html +++ b/Ameba/Rule/Style/WhileTrue.html @@ -606,6 +606,41 @@
  • +
  • + Spec + + + + +
  • +
  • Tokenizer @@ -698,7 +733,7 @@ - + ameba/rule/style/while_true.cr @@ -987,7 +1022,7 @@
    - [View source] + [View source]
    @@ -1129,7 +1164,7 @@
    - [View source] + [View source]
    diff --git a/Ameba/Runner.html b/Ameba/Runner.html index 382744ce..321fe23b 100644 --- a/Ameba/Runner.html +++ b/Ameba/Runner.html @@ -606,6 +606,41 @@
  • +
  • + Spec + + + + +
  • +
  • Tokenizer @@ -675,7 +710,7 @@ runner.run.success? # => true or false - + ameba/runner.cr @@ -808,7 +843,7 @@ config.formatter = formatter
    - [View source] + [View source]
    @@ -848,7 +883,7 @@ runner.explain({file: file, line: l, column: c})
    - [View source] + [View source]
    @@ -875,7 +910,7 @@ runner.run # => returns runner again
    - [View source] + [View source]
    @@ -896,7 +931,7 @@ runner.run # => returns runner again
    - [View source] + [View source]
    @@ -921,7 +956,7 @@ runner.success? # => true or false
    - [View source] + [View source]
    diff --git a/Ameba/Severity.html b/Ameba/Severity.html index 1b686567..f9594fd6 100644 --- a/Ameba/Severity.html +++ b/Ameba/Severity.html @@ -606,6 +606,41 @@
  • +
  • + Spec + + + + +
  • +
  • Tokenizer @@ -656,7 +691,7 @@ - + ameba/severity.cr @@ -831,7 +866,7 @@
    - [View source] + [View source]
    @@ -859,7 +894,7 @@
    - [View source] + [View source]
    @@ -875,7 +910,7 @@
    - [View source] + [View source]
    @@ -897,7 +932,7 @@
    - [View source] + [View source]
    @@ -913,7 +948,7 @@
    - [View source] + [View source]
    diff --git a/Ameba/SeverityYamlConverter.html b/Ameba/SeverityYamlConverter.html index 9b4e6ad4..4514c27c 100644 --- a/Ameba/SeverityYamlConverter.html +++ b/Ameba/SeverityYamlConverter.html @@ -606,6 +606,41 @@
  • +
  • + Spec + + + + +
  • +
  • Tokenizer @@ -669,7 +704,7 @@ - + ameba/severity.cr @@ -757,7 +792,7 @@
    - [View source] + [View source]
    @@ -773,7 +808,7 @@
    - [View source] + [View source]
    diff --git a/Ameba/Source.html b/Ameba/Source.html index 8a0da74e..9cccde36 100644 --- a/Ameba/Source.html +++ b/Ameba/Source.html @@ -606,6 +606,41 @@
  • +
  • + Spec + + + + +
  • +
  • Tokenizer @@ -665,6 +700,8 @@ Has path, lines of code and issues reported by rules.

  • Ameba::Reportable
  • +
  • Ameba::Spec::Util
  • + @@ -686,12 +723,19 @@ Has path, lines of code and issues reported by rules.

    - + ameba/source.cr
    + + + ameba/spec/support.cr + + +
    + @@ -707,6 +751,11 @@ Has path, lines of code and issues reported by rules.