I’m getting the following error in SonarCloud:
Unexpected unknown unit "+px" For the line: width: $i/1.3+px;
This is failing on this rule:
Units should be valid The W3C specifications define the `units` that can be used with lengths. A unit that is not part of the list of supported ones is likely to be a typo and will be seen as a UI bug by the user. This rule raises an issue each time a unit is not officially supported.
As I understand it this is invalid for a css file, bt this is a scss file which it is fine. Is there anyway to remove filnding this false positive, without disabling it for css file too.