I am working on Angular2 application with webpack. I am using sonarqube for code quality metrics. I use VS Code as IDE.
Below css gives me a warning on sonarqube "Check this potential box model size issue" which is correct.
.popup-dock-button {
background: url('./app/assets/images/dock.svg') no-repeat;
background-size: 13px 13px;
float: left;
width: 20px;
height: 20px;
padding: 3px;
}
But in VSCode i am not able to see this code smell as warning. Below is my stylelintrc.json file
{
"extends": [
"stylelint-config-standard"
],
"plugins": [
"stylelint-scss"
],
"rules": {
"indentation": 4,
"number-leading-zero": null,
"declaration-block-no-ignored-properties": true,
"selector-class-pattern": "^[a-z][-a-z0-9]*$",
"selector-no-id": true
},
"defaultSeverity": "warning"
}
I am not able to find a rule id which is to be set to solve this issue.