Skip to content

Commit

Permalink
Merge branch 'master' into plt/appsec-454
Browse files Browse the repository at this point in the history
  • Loading branch information
pierre-loup-tristant-sonarsource authored Nov 27, 2024
2 parents 2e7aa07 + c20a09e commit ec4890e
Show file tree
Hide file tree
Showing 208 changed files with 1,751 additions and 1,399 deletions.
1,545 changes: 701 additions & 844 deletions frontend/public/covered_rules.json

Large diffs are not rendered by default.

5 changes: 1 addition & 4 deletions rules/S100/flex/metadata.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
{
"tags": [],
"status": "deprecated",
"defaultQualityProfiles": []
}
}
6 changes: 2 additions & 4 deletions rules/S1005/flex/metadata.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
{
"tags": [],
"status": "deprecated",
"defaultQualityProfiles": []
}

}
6 changes: 2 additions & 4 deletions rules/S101/flex/metadata.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
{
"tags": [],
"status": "deprecated",
"defaultQualityProfiles": []
}

}
6 changes: 2 additions & 4 deletions rules/S103/flex/metadata.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
{
"tags": [],
"status": "deprecated",
"defaultQualityProfiles": []
}

}
6 changes: 2 additions & 4 deletions rules/S1066/flex/metadata.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
{
"tags": [],
"status": "deprecated",
"defaultQualityProfiles": []
}

}
6 changes: 2 additions & 4 deletions rules/S1068/flex/metadata.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
{
"tags": [],
"status": "deprecated",
"defaultQualityProfiles": []
}

}
6 changes: 2 additions & 4 deletions rules/S107/flex/metadata.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
{
"tags": [],
"status": "deprecated",
"defaultQualityProfiles": []
}

}
6 changes: 2 additions & 4 deletions rules/S108/flex/metadata.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
{
"tags": [],
"status": "deprecated",
"defaultQualityProfiles": []
}

}
6 changes: 2 additions & 4 deletions rules/S1116/flex/metadata.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
{
"tags": [],
"status": "deprecated",
"defaultQualityProfiles": []
}

}
7 changes: 2 additions & 5 deletions rules/S1117/flex/metadata.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
{
"title": "Local variables should not shadow class fields",
"tags": [],
"status": "deprecated",
"defaultQualityProfiles": []
}
"title": "Local variables should not shadow class fields"
}
6 changes: 2 additions & 4 deletions rules/S1125/flex/metadata.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
{
"tags": [],
"status": "deprecated",
"defaultQualityProfiles": []
}

}
6 changes: 2 additions & 4 deletions rules/S1135/flex/metadata.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
{
"tags": [],
"status": "deprecated",
"defaultQualityProfiles": []
}

}
6 changes: 2 additions & 4 deletions rules/S1142/flex/metadata.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
{
"tags": [],
"status": "deprecated",
"defaultQualityProfiles": []
}

}
7 changes: 2 additions & 5 deletions rules/S1144/flex/metadata.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
{
"title": "Unused \"private\" functions should be removed",
"tags": [],
"status": "deprecated",
"defaultQualityProfiles": []
}
"title": "Unused \"private\" functions should be removed"
}
5 changes: 1 addition & 4 deletions rules/S1145/flex/metadata.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
{
"tags": [],
"status": "deprecated",
"defaultQualityProfiles": []
}
}
6 changes: 2 additions & 4 deletions rules/S115/flex/metadata.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
{
"tags": [],
"status": "deprecated",
"defaultQualityProfiles": []
}

}
6 changes: 2 additions & 4 deletions rules/S1151/flex/metadata.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
{
"tags": [],
"status": "deprecated",
"defaultQualityProfiles": []
}

}
6 changes: 2 additions & 4 deletions rules/S116/flex/metadata.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
{
"tags": [],
"status": "deprecated",
"defaultQualityProfiles": []
}

}
6 changes: 2 additions & 4 deletions rules/S117/flex/metadata.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
{
"tags": [],
"status": "deprecated",
"defaultQualityProfiles": []
}

}
7 changes: 2 additions & 5 deletions rules/S1170/flex/metadata.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
{
"title": "Public constants and fields initialized at declaration should be \"const static\" rather than merely \"const\"",
"tags": [],
"status": "deprecated",
"defaultQualityProfiles": []
}
"title": "Public constants and fields initialized at declaration should be \"const static\" rather than merely \"const\""
}
6 changes: 2 additions & 4 deletions rules/S1172/flex/metadata.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
{
"tags": [],
"status": "deprecated",
"defaultQualityProfiles": []
}

}
7 changes: 2 additions & 5 deletions rules/S1176/flex/metadata.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
{
"title": "Public classes, methods, properties and metadata should be documented with ASDoc",
"tags": [],
"status": "deprecated",
"defaultQualityProfiles": []
}
"title": "Public classes, methods, properties and metadata should be documented with ASDoc"
}
6 changes: 2 additions & 4 deletions rules/S1185/flex/metadata.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
{
"tags": [],
"status": "deprecated",
"defaultQualityProfiles": []
}

}
6 changes: 2 additions & 4 deletions rules/S1186/flex/metadata.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
{
"tags": [],
"status": "deprecated",
"defaultQualityProfiles": []
}

}
6 changes: 2 additions & 4 deletions rules/S120/flex/metadata.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
{
"tags": [],
"status": "deprecated",
"defaultQualityProfiles": []
}

}
6 changes: 2 additions & 4 deletions rules/S122/flex/metadata.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
{
"tags": [],
"status": "deprecated",
"defaultQualityProfiles": []
}

}
5 changes: 1 addition & 4 deletions rules/S1224/flex/metadata.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
{
"tags": [],
"status": "deprecated",
"defaultQualityProfiles": [],
"quickfix": "unknown"

}
6 changes: 2 additions & 4 deletions rules/S124/flex/metadata.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
{
"tags": [],
"status": "deprecated",
"defaultQualityProfiles": []
}

}
6 changes: 2 additions & 4 deletions rules/S125/flex/metadata.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
{
"tags": [],
"status": "deprecated",
"defaultQualityProfiles": []
}

}
6 changes: 2 additions & 4 deletions rules/S127/flex/metadata.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
{
"tags": [],
"status": "deprecated",
"defaultQualityProfiles": []
}

}
6 changes: 2 additions & 4 deletions rules/S128/flex/metadata.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
{
"tags": [],
"status": "deprecated",
"defaultQualityProfiles": []
}

}
9 changes: 1 addition & 8 deletions rules/S129/flex/metadata.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
{
"tags": [],
"status": "deprecated",
"defaultQualityProfiles": [],
"quickfix": "unknown",
"remediation": {
"func": "Constant\/Issue",
"constantCost": "10min"
}

}
2 changes: 2 additions & 0 deletions rules/S1291/javascript/metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
{
}
17 changes: 17 additions & 0 deletions rules/S1291/javascript/rule.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
include::../rule.adoc[]

ifdef::env-github,rspecator-view[]

'''
== Implementation Specification
(visible only on this page)

include::../message.adoc[]

'''
== Comments And Links
(visible only on this page)

include::../comments-and-links.adoc[]

endif::env-github,rspecator-view[]
6 changes: 2 additions & 4 deletions rules/S1301/flex/metadata.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
{
"tags": [],
"status": "deprecated",
"defaultQualityProfiles": []
}

}
6 changes: 2 additions & 4 deletions rules/S131/flex/metadata.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
{
"tags": [],
"status": "deprecated",
"defaultQualityProfiles": []
}

}
6 changes: 2 additions & 4 deletions rules/S1311/flex/metadata.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
{
"tags": [],
"status": "deprecated",
"defaultQualityProfiles": []
}

}
7 changes: 2 additions & 5 deletions rules/S1312/flex/metadata.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
{
"title": "Loggers should be \"private static const\" and should share naming convention",
"tags": [],
"status": "deprecated",
"defaultQualityProfiles": []
}
"title": "Loggers should be \"private static const\" and should share naming convention"
}
6 changes: 2 additions & 4 deletions rules/S1314/flex/metadata.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
{
"tags": [],
"status": "deprecated",
"defaultQualityProfiles": []
}

}
18 changes: 12 additions & 6 deletions rules/S1320/flex/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,18 @@
},
"attribute": "CONVENTIONAL"
},
"status": "deprecated",
"status": "ready",
"remediation": {
"func": "Constant/Issue",
"func": "Constant\/Issue",
"constantCost": "2min"
},
"tags": [],
"tags": [
"obsolete"
],
"extra": {
"replacementRules": [],
"replacementRules": [

],
"legacyKeys": [
"ActionScript2"
]
Expand All @@ -23,6 +27,8 @@
"ruleSpecification": "RSPEC-1320",
"sqKey": "ActionScript2",
"scope": "Main",
"defaultQualityProfiles": [],
"defaultQualityProfiles": [
"Sonar way"
],
"quickfix": "unknown"
}
}
Loading

0 comments on commit ec4890e

Please sign in to comment.