rspec/rules/S4325/javascript/metadata.json
github-actions[bot] ef35f53a80
Create rule S4325: Redundant casts should be avoided (#4729)
* 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>
2025-03-19 14:46:46 +00:00

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"
]
}