at-use-no-unnamespaced

December 2, 2021 · View on GitHub

Disallow usage of @use without a namespace.

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

The following patterns are considered warnings:

@use "foo" as *;

The following patterns are not considered warnings:

@use "foo";
@use "foo" as bar;