Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-4679

Make it possible to restrict the scope of applicability for a rule

    XMLWordPrintable

    Details

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

      Description

      Here are some use cases:

      • Every classe of API packages must have an "@since" Javadoc comment
      • Name of methods must not contain "find but "select" in the interfaces suffixed with Mapper
      • ...

      This ticket is a part of the move of the Switch Off Violations functionality into core. It will allow the user to specify that a rule applies only in specific circumstances, but not otherwise.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jb.lievremont OLD - Jean-Baptiste Lièvremont (Inactive)
              Reporter:
              fabemn OLD - Fabrice Bellingard
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved: