Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 363 Bytes

File metadata and controls

24 lines (17 loc) · 363 Bytes

dollar-variable-no-namespaced-assignment

Disallow assignment to namespaced variables.

a { imported.$foo: 1px; }
/** ↑
 * This assignment */

Examples

The following patterns are considered warnings:

imported.$foo: 1;

The following patterns are not considered warnings:

a { b: imported.$foo-bar; }
a { $foo: 0; }