Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no-invalid-position-at-import rule incompatible with @use directive #58

Open
adidahiya opened this issue Apr 1, 2022 · 0 comments
Open

Comments

@adidahiya
Copy link
Contributor

adidahiya commented Apr 1, 2022

See stylelint/stylelint#5133 (comment), https://stylelint.io/user-guide/rules/list/no-invalid-position-at-import-rule/

no-invalid-position-at-import rule is now enabled by default, but this doesn't work for Sass files that use the @use syntax unless you configure the following override:

    "no-invalid-position-at-import-rule": [true, {
        "ignoreAtRules": ["use"]
    }],

this should be configured out of the box. maybe stylelint-config-standard-scss does it for us...?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant