-
Notifications
You must be signed in to change notification settings - Fork 54
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
vscode-stylelint throws an using this as a plugin #10
Comments
It's related to And just in case: what version of |
I made the smallest demo I could (which is essentially just the snippets above). My actual project .stylelintrc is:
Both have the same issue. |
Ben, thank you for paying attention to this wrong behavior! My mistake =)
That's all =)
So it will look:
or (also will work):
|
Works perfectly, thank you 👍 |
If there are 11 or more rules, not placing This .stylelintrc will show the 'severity' error:
This .stylelintrc works fine (
This .stylelintrc also works fine (only 10 rules):
|
Firstly, I'm not sure if this is an issue with the vscode plugin or with
stylelint-config-rational-order
but I needed to start somewhere.When I enable this by extending the stylelint config it works perfectly.
However if I enable it as a plugin and rule the vscode plugin throws an error about severity, see the below error.
I tried adding the severity option but the error is still throw.
"plugin/rational-order": [true, { "severity": "warning" } ]
Any ideas where this problem exists or how to fix it?
BTW I love this project, thank you :)
The text was updated successfully, but these errors were encountered: