-
Notifications
You must be signed in to change notification settings - Fork 469
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 unknown property names in :export
block
#960
Comments
My current workaround is doing :export {
#{'headerHeight'}: $header-height;
} but it's pretty ugly just to get around the linter rule. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm using CSS Modules with SCSS (via https://gatsbyjs.org). I'm using the CSS Modules
:export
feature to send my SCSS variables to Javascript:When I do this, I get a scss-lint error "Unknown property: 'headerHeight'".
I'd like the ability with scss-lint to use arbitrary property names within an
:export
block (possibly behind a rule toggle).The text was updated successfully, but these errors were encountered: