Skip to content

scss:unknown-at-rules creates false positives for @if rules when conditions contains "&&" #82

@agabrys

Description

@agabrys

Hello,
The plugin reported false positives for @if rules when conditions contains && characters.

unknown-rule

Environment:

  • CSS / SCSS / Less plugin: 3.1
  • SonarQube: 5.6.7

Example file:
https://github.com/agabrys/sonarqube-falsepositives/blob/master/src/main/sass/d20171218/unknown-at-rules.scss

Project:
https://github.com/agabrys/sonarqube-falsepositives

Build:
mvn clean package sonar

Best Regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions