We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
:export
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:
:export { headerHeight: $header-height; }
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:
My current workaround is doing
:export { #{'headerHeight'}: $header-height; }
but it's pretty ugly just to get around the linter rule.
Sorry, something went wrong.
No branches or pull requests
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: