![github-actions[bot]](/assets/img/avatar_default.png)
* Add rust to rule S4325 * Update RSPEC --------- Co-authored-by: yassin-kammoun-sonarsource <yassin-kammoun-sonarsource@users.noreply.github.com> Co-authored-by: yassin-kammoun-sonarsource <yassin.kammoun@sonarsource.com>
35 lines
643 B
JSON
35 lines
643 B
JSON
{
|
|
"title": "Redundant casts and non-null assertions should be avoided",
|
|
"type": "CODE_SMELL",
|
|
"code": {
|
|
"impacts": {
|
|
"MAINTAINABILITY": "LOW"
|
|
},
|
|
"attribute": "CLEAR"
|
|
},
|
|
"status": "ready",
|
|
"remediation": {
|
|
"func": "Constant/Issue",
|
|
"constantCost": "1min"
|
|
},
|
|
"tags": [
|
|
"redundant",
|
|
"type-dependent"
|
|
],
|
|
"extra": {
|
|
"replacementRules": [],
|
|
"legacyKeys": []
|
|
},
|
|
"defaultSeverity": "Minor",
|
|
"ruleSpecification": "RSPEC-4325",
|
|
"sqKey": "S4325",
|
|
"scope": "Main",
|
|
"defaultQualityProfiles": [
|
|
"Sonar way"
|
|
],
|
|
"quickfix": "covered",
|
|
"compatibleLanguages": [
|
|
"ts"
|
|
]
|
|
}
|