Skip to content

Latest commit

 

History

History
46 lines (36 loc) · 658 Bytes

File metadata and controls

46 lines (36 loc) · 658 Bytes

function-unquote-no-unquoted-strings-inside

Disallow unquoted strings inside the unquote function

p {
  font-family: unquote(Helvetica);
  /**          ↑     ↑
   * This function call is unnecessary
   */
}

Options

true

The following patterns are considered violations:

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

The following patterns are not considered violations:

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