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

**URL:** <https://community.sonarsource.com/t/rule-unknown-properties-should-be-removed-badly-calculated-in-less-files/1747>\
**Category:** Report False-positive / False-negative...\
**Tags:** html, css\
**Created:** [August 13, 2018, 1:16pm UTC](https://community.sonarsource.com/t/rule-unknown-properties-should-be-removed-badly-calculated-in-less-files/1747 "2018-08-13T13:16:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jaolivan](https://avatars.discourse-cdn.com/v4/letter/j/7ea924/32.png) [@jaolivan](https://community.sonarsource.com/u/jaolivan)\
**Post date:** [August 13, 2018, 1:16pm UTC](https://community.sonarsource.com/t/rule-unknown-properties-should-be-removed-badly-calculated-in-less-files/1747/1 "2018-08-13T13:16:50Z")

</div>

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.

```auto
.@{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;}
}

```

---

<div class="post-metadata">

**Author:** ![Nicolas\_Harraudeau](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/nicolas_harraudeau/32/255_2.png) [@Nicolas\_Harraudeau](https://community.sonarsource.com/u/Nicolas_Harraudeau)\
**Post date:** [May 27, 2019, 9:36am UTC](https://community.sonarsource.com/t/rule-unknown-properties-should-be-removed-badly-calculated-in-less-files/1747/3 "2019-05-27T09:36:21Z")

</div>

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).
