Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.5
    • Component/s: AST
    • Labels:
      None

      Description

      Main affected language: Ruby

       

      Affected rules: RSPEC-1145RSPEC-134RSPEC-1125RSPEC-3923

      • Ruby
        The unless statement, which behaves as 'if not', is mapped to native trees. This impacts rules regarding conditions, nested depth and complexity.
      unless false // Condition always false
        doSomething()
      end
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                michael.gumowski Michael Gumowski
                Reporter:
                quentin.jaquier Quentin Jaquier
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved: