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

Throwing error in the latest version #16

Open
JoaoFGuiomar opened this issue Jul 15, 2019 · 5 comments
Open

Throwing error in the latest version #16

JoaoFGuiomar opened this issue Jul 15, 2019 · 5 comments

Comments

@JoaoFGuiomar
Copy link

Hi 👋
Just updated to the latest version and I'm getting the following error while saving:

Error: severity property of a stylelint warning must be either 'error' or 'warning', but it was 'ignore' (string). at stylelintWarningToVscodeDiagnostic.

@adrinux
Copy link

adrinux commented Aug 7, 2019

Not just the latest version, all versions back to 0.0.4. At least when used with the VSCode extension.
This issue comment implies that it wont work reorder on save and code has to be fixed from the command line with 'stylelint --fix' but running the stylesheet through that made no difference as far as I can see.

Back to hand coded rational order for me :/

@alexkrolick
Copy link

Is there something that could be added in this file https://github.com/constverum/stylelint-config-rational-order/blob/master/config/extendedStylelintOrderConfig.js to fix that?

@laozhu
Copy link

laozhu commented Oct 12, 2019

I changed order config to stylelint-config-concentric-order, problem solved.

@UnbearableBear
Copy link

This is a real blocker for me :/

@ramilzakirov
Copy link

ramilzakirov commented Nov 7, 2019

@UnbearableBear

I think this example will help you.
#13 (comment)

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

No branches or pull requests

6 participants