You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
stylelint-scss currently provides a set of at-import-* rules to check imported paths.
It would make sense IMO to have the equivalent at-use-* rules (maybe using the new -allowed-list and -disallowed-list naming convention of stylelint, see #571) for code that migrates to the modern way.
Differences between import and use:
@use is always a Sass rule (there is no CSS @use)
@use only supports one module per rule (while @import supports a list
@use supports modifiers for the rule (as <namespace> and with <configuration>) coming after the path
@use only supports strings (no url(foo))
The text was updated successfully, but these errors were encountered:
stylelint-scss currently provides a set of
at-import-*
rules to check imported paths.It would make sense IMO to have the equivalent
at-use-*
rules (maybe using the new-allowed-list
and-disallowed-list
naming convention of stylelint, see #571) for code that migrates to the modern way.Differences between import and use:
@use
is always a Sass rule (there is no CSS@use
)@use
only supports one module per rule (while@import
supports a list@use
supports modifiers for the rule (as <namespace>
andwith <configuration>
) coming after the path@use
only supports strings (nourl(foo)
)The text was updated successfully, but these errors were encountered: