-
Notifications
You must be signed in to change notification settings - Fork 683
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SONARJAVA-2466 introduce sonarpedia.json and update rules metadata #1765
Conversation
@@ -6,6 +6,4 @@ | |||
<li> forbid access to <code>java.util.Vector</code>, <code>java.util.Hashtable</code> and <code>java.util.Enumeration</code> from any classes </li> | |||
<li> forbid access to <code>java.sql.**</code> from <code>**.ui.**</code> and <code>**.web.**</code> classes </li> | |||
</ul> | |||
<h2>Deprecated</h2> | |||
<p>This rule is deprecated, and will eventually be removed.</p> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why remove this ? rule is actually deprecated : https://jira.sonarsource.com/browse/RSPEC-1212
{ | ||
"rules-metadata-path": "./java-checks/src/main/resources/org/sonar/l10n/java/rules/squid", | ||
"languages": [ | ||
"JAVA" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am surprised by the case of the language in this file cc @erichirlemann
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I mean that we have nowhere the java language used in uppercase. The langage key is "java" as defined per https://github.com/SonarSource/sonar-java/blob/master/sonar-java-plugin/src/main/java/org/sonar/plugins/java/Java.java#L39
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This key comes from rule-api instead.
@@ -1 +0,0 @@ | |||
{"name":"Sonar security way","ruleKeys":[]} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
942528b
to
d1c516e
Compare
No description provided.