Skip to content

Latest commit

 

History

History
34 lines (22 loc) · 553 Bytes

map-keys-quotes.md

File metadata and controls

34 lines (22 loc) · 553 Bytes

Pattern: Unquoted map key

Issue: -

Description

Require quoted keys in Sass maps.

$test: (Helvetica: 14px, Arial: 25px);
  /**   ↑                ↑
   * These words should be quoted.
   */

Examples

always

The following patterns are considered violations:

$test: (Helvetica: 14px, Arial: 25px);

The following patterns are not considered violations:

$test: ("foo": 14px, "bar": 25px);

Further Reading