Uploaded image for project: 'SonarJava'
  1. SonarJava
  2. SONARJAVA-3160

Use RSPEC number based rule keys and "java" as repository key

    XMLWordPrintable

    Details

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

      Description

      Since SQ 7.1 there is API available for each rule to have a deprecated key(s): org.sonar.api.server.rule.RulesDefinition.NewRule#addDeprecatedRuleKey

      See documentation on how to use it here.

      We should declare legacy (word-based) rule keys as deprecated so that legacy keys are not used anymore.
      Also rule repository should be renamed from squid to java to be consistent with other languages.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              guillaume.dequenne Guillaume Dequenne
              Reporter:
              elena.vilchik Elena Vilchik
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved: