Uploaded image for project: 'SonarSlang'
  1. SonarSlang
  2. SONARSLANG-80

Rule S1940: Boolean checks should not be inverted

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.0
    • Component/s: Rules
    • Labels:
      None

      Description

      In slang, we should probably only cover "standard" operators ==, >, >=, <, <= and assume that their opposite operators are !=, <=, <, >=, >. If that's not true for a given language, then we can discard the rule for that language.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                christophe.zurn Christophe Zurn
                Reporter:
                pierre-yves.nicolas Pierre-Yves Nicolas
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved: