Rule 'Unknown properties should be removed' badly calculated in .less files

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;}
}

Hi Jose,

Sorry for the late reply. If you still have this issue could you tell us what version of SonarCSS you are using? It is the plugin analyzing css, sass and less files.

I could not reproduce this issue with SonarCSS 1.0.3 and the code above (without the “**” which I guess were meant to put the code in bold).