Skip to content

Latest commit

 

History

History
46 lines (32 loc) · 725 Bytes

function-unquote-no-unquoted-strings-inside.md

File metadata and controls

46 lines (32 loc) · 725 Bytes

Pattern: Unquoted string in unquote function

Issue: -

Description

Disallow unquoted strings inside the unquote function.

Examples

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);
}

Further Reading