![github-actions[bot]](/assets/img/avatar_default.png)
* Add rust to rule S3498 * 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>
34 lines
623 B
JSON
34 lines
623 B
JSON
{
|
|
"title": "Object literal shorthand syntax should be used",
|
|
"type": "CODE_SMELL",
|
|
"code": {
|
|
"impacts": {
|
|
"MAINTAINABILITY": "LOW"
|
|
},
|
|
"attribute": "CONVENTIONAL"
|
|
},
|
|
"status": "ready",
|
|
"remediation": {
|
|
"func": "Constant/Issue",
|
|
"constantCost": "1min"
|
|
},
|
|
"tags": [
|
|
"convention",
|
|
"es2015"
|
|
],
|
|
"extra": {
|
|
"replacementRules": [],
|
|
"legacyKeys": []
|
|
},
|
|
"defaultSeverity": "Minor",
|
|
"ruleSpecification": "RSPEC-3498",
|
|
"sqKey": "S3498",
|
|
"scope": "Main",
|
|
"defaultQualityProfiles": [],
|
|
"quickfix": "covered",
|
|
"compatibleLanguages": [
|
|
"js",
|
|
"ts"
|
|
]
|
|
}
|