stylelint-config-rational-order icon indicating copy to clipboard operation
stylelint-config-rational-order copied to clipboard

Throwing error in the latest version

Open JoaoFGuiomar opened this issue 6 years ago • 5 comments

Hi :wave: 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.

JoaoFGuiomar avatar Jul 15 '19 10:07 JoaoFGuiomar

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 :/

adrinux avatar Aug 07 '19 16:08 adrinux

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?

alexkrolick avatar Sep 19 '19 00:09 alexkrolick

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

laozhu avatar Oct 12 '19 07:10 laozhu

This is a real blocker for me :/

UnbearableBear avatar Oct 17 '19 10:10 UnbearableBear

@UnbearableBear

I think this example will help you. https://github.com/constverum/stylelint-config-rational-order/issues/13#issuecomment-522421878

ramilzakirov avatar Nov 07 '19 12:11 ramilzakirov