Skip to content

Latest commit

 

History

History
44 lines (31 loc) · 631 Bytes

File metadata and controls

44 lines (31 loc) · 631 Bytes

at-use-no-redundant-alias

Disallow redundant namespace aliases.

@use "foo" as foo;
/**           ↑
 * Disallow this */

By default, the module's namespace is the last component of the module’s URL.

Options

true

The following patterns are considered warnings:

@use "foo" as foo;
@use "sass:math" as math;
@use "src/corners" as corners;

The following patterns are not considered warnings:

@use "foo" as bar;
@use "sass:math";
@use "src/corners" as c;