All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.sonar.css.checks.l10n.scss.useless-parentheses-mixin-no-parameter.html Maven / Gradle / Ivy

There is a newer version: 4.13
Show newest version

When a mixin does not define any parameter, parentheses are optional and should not be added to improve code readability.

Noncompliant Code Example

@mixin my-mixin() {   /* Noncompliant */
  ...
}

@include my-mixin();  /* Noncompliant */

Compliant Solution

@mixin my-mixin {
  ...
}

@include my-mixin;




© 2015 - 2024 Weber Informatics LLC | Privacy Policy