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

Allow ignoring @mixin #2

Open
raycohen opened this issue Dec 21, 2022 · 1 comment
Open

Allow ignoring @mixin #2

raycohen opened this issue Dec 21, 2022 · 1 comment

Comments

@raycohen
Copy link

raycohen commented Dec 21, 2022

Started using this in a project with sass files, and it flags the h1 inside the mixin as unscoped:

@mixin example {
  h1 { color: red; }
}

Would you accept either a PR to explicitly skip @mixin the way @keyframes is currently being skipped, or a PR that adds options.ignoredAtRules to allow the consuming project to configure arbitrary additional at-rules to skip?

@raycohen
Copy link
Author

raycohen commented Feb 3, 2023

Bumping this - let me know if you'd accept a PR here!

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

No branches or pull requests

1 participant