Closed sobolevn closed 6 years ago
Hi,
I think this have to be handled on your side with the property-no-unknown
rule. Make your own whitelist or use a prefix.
Not sure whether there's some sort of wildcard enabled config for I could add here.
Dupe of #3
Another solution would be to disable locally with comments.
Thanks, now using this setup:
:export {
// Any values that need to be accessible from JavaScript
// outside of a Vue component can be defined here, prefixed
// with `var-` to avoid conflicts with existing variables.
// For example:
$var-color-white: $color-white;
}
As of stylelint-config-css-modules@2.0.0
this is supported without any additional tweak.
Hi! Thanks for putting all this stuff together. It really helps.
I have a question about handling an
:export
case. That's what I mean:What I get is:
[stylelint] Unexpected unknown property "global-var" (property-no-unknown)
How to handle this situation?Thanks!