Skip to content

Latest commit

 

History

History
46 lines (36 loc) · 645 Bytes

File metadata and controls

46 lines (36 loc) · 645 Bytes

function-quote-no-quoted-strings-inside

Disallow quoted strings inside the quote function

p {
  font-family: quote("Helvetica");
  /**                ↑         ↑
   * These quotes are unnecessary
   */
}

Options

true

The following patterns are considered violations:

a {
  font-family: quote("Helvetica");
}
$font: "Helvetica";
p {
  font-family: quote($font);
}

The following patterns are not considered violations:

a {
  color: quote(blue);
}
$font: Helvetica;
p {
  font-family: quote($font);
}