Versions used
SonarQube 8.0.0.29455
SonarCSS 1.2 (build 1325)
The rule “css:S4650 “calc” operands should be correctly spaced” is incorrectly flagging
width: calc(1*(2px + 0.75rem + 1.5em));
as a blocker.
With reference to W3C CSS Values and Units Module Level 3 section 8.1.1 Syntax
"In addition, [white space] is required on both sides of the [+] and - operators. (The [*] and / operaters can be used without white space around them.)"
This is flagging a number of issues in our code bases most problematically in third party references that we cannot easily modify.
Thanks
Nick