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

Sass variables definition #4

Closed
KarolAltamirano opened this issue Feb 13, 2017 · 2 comments
Closed

Sass variables definition #4

KarolAltamirano opened this issue Feb 13, 2017 · 2 comments

Comments

@KarolAltamirano
Copy link

I've tried to use the plugin to lint Sass files (scss syntax) but the plugin is showing an error on each line where there is a variable definition i.e. $color01: #eee;

2:1  ✖  Unknown property: $color01        csstree/validator
3:1  ✖  Unknown property: $color02        csstree/validator
4:1  ✖  Unknown property: $color03        csstree/validator

It seems working fine for variables defined inside mixins.

This is the list of all plugins that I'm currently using:

"plugins": [
        "stylelint-scss",
        "stylelint-order",
        "stylelint-declaration-use-variable",
        "stylelint-csstree-validator"
    ]

Thank you!!

@lahmatiy
Copy link
Member

lahmatiy commented Feb 14, 2017

1.1.0 has been published. Should be ok now.

@KarolAltamirano
Copy link
Author

Awesome, thank you very much!! 😃

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

No branches or pull requests

2 participants