SonarQube 7.2.1 (DEV EDITION)
SonarHTML 3.0
Rule Unknown properties should be removed is bad calculated within less files. In the below case, sonar is highlighting the first td saying “Remove this usage of the unknown td property” but the other aren’t highlighted. In general this is not an issue due to is allowed by less.
.@{prefix}step-medication-table {
td {
font-size: 14px;
min-width: 100px;
white-space: nowrap !important;
word-break: normal;
select { margin:-5px 0; }
}
**td:first-child { min-width:75px; }**
td:last-child { min-width:50px; }
&.table-striped>tbody:nth-of-type(2n+1)>tr {background:@grey7;}
&.table-striped>tbody:nth-of-type(2n)>tr {background:@grey10;}
}