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

org.sonar.css.checks.l10n.common.duplicated-font-families.html Maven / Gradle / Ivy

There is a newer version: 4.13
Show newest version

Duplicated font family names in a font-family property value are either:

  • Useless and the duplicated font family names can be safely removed
  • Or it is the result of a bad copy/paste and the duplicated font family names should be replaced with the intended ones

Noncompliant Code Example

.mybox {
  font-family: 'Arial', 'MS Trebuchet', 'Arial', sans-serif;
}

Compliant Solution

.mybox {
  font-family: 'Arial', 'MS Trebuchet', sans-serif;
}

stylelint Related Rules





© 2015 - 2024 Weber Informatics LLC | Privacy Policy