thingsboard/ui/node_modules/stylelint-scss/src/rules/function-unquote-no-unquoted-strings-inside
2020-05-19 11:43:42 +03:00
..
2020-05-19 11:43:42 +03:00

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