rspec/rules/S3498/javascript/metadata.json
github-actions[bot] 2713aeaed6
Create rule S3498: Field init shorthand should be used (#4727)
* 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>
2025-03-19 14:46:55 +00:00

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