Less variable falsely identified as a unit because of number in variable name


(Logan Black) #1

I have a variable named @2x-large-breakpoint which is being identified, where it is used, as an incorrect unit because of the “2” in the variable name.

This is identified as issue: css:S4653 “Units should be valid”

We use SonarQube version 7.2.1. I don’t see a specific less plugin installed, but we are using SonarCSS 1.0 (build 457) if that covers Less.