Details
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
- causes
-
SONARJAVA-3279 S1309 (Track uses of "@SuppressWarnings" annotations) does not support correctly changes of repository name
-
- Closed
-
- is related to
-
SONARJAVA-3268 @SuppressWarnings annotation should suppress issues with legacy keys
-
- Closed
-
-
SONARJAVA-3277 Rule template created before 6.0 don't work on versions >= 6.0
-
- Closed
-
-
SLCORE-262 Supports deprecated rule keys
-
- Closed
-
- relates to
-
SONAR-12736 SQ fails to load built-in QP with deprecated key of other plugin
-
- Closed
-
-
SUPPORT-26733 Loading...