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

Rule idea: at-import-no-invalid-position #538

Open
Semigradsky opened this issue Aug 23, 2021 · 3 comments
Open

Rule idea: at-import-no-invalid-position #538

Semigradsky opened this issue Aug 23, 2021 · 3 comments
Labels
Help wanted 🙋 Help is needed New rule 👌 Ready to be created as a new rule

Comments

@Semigradsky
Copy link

The same rule as no-invalid-position-at-import-rule but works with scss at-rules.

Related tickets:

@kristerkari kristerkari added Help wanted 🙋 Help is needed New rule 👌 Ready to be created as a new rule labels Aug 24, 2021
@kristerkari
Copy link
Collaborator

I think that this can be added as a new rules since the new syntax in Sass conflicts with the stylelint rule.

@jeddy3
Copy link
Collaborator

jeddy3 commented Sep 17, 2021

FYI, an ignoreAtRules:[] option was added in stylelint/stylelint#5520 and will be available in 14.0.0.

You can use that option in this scss/no-invalid-position-at-import-rule rule.

@AlexWayfer
Copy link

AlexWayfer commented Sep 1, 2022

The no-invalid-position-at-import-rule offenses a lot about @imports nested into blocks, what is supported by S(A/C)SS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Help wanted 🙋 Help is needed New rule 👌 Ready to be created as a new rule
Development

No branches or pull requests

4 participants