-
Notifications
You must be signed in to change notification settings - Fork 52
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
The plugin does not do a thing #22
Comments
It looks like your CSS file has already been sorted according to the plugin settings. |
same issue here : I have this minimal config : {
"extends": [
"stylelint-config-standard",
"stylelint-config-sass-guidelines",
"stylelint-config-rational-order"
],
"rules": {
"selector-class-pattern": ["[a-z]",{
"resolveNestedSelectors": true
}],
"max-nesting-depth": [2, {}]
}
} When i run When I then run |
Weirdly, when i had this line to the config : {
"extends": [
"stylelint-config-standard",
"stylelint-config-sass-guidelines",
"stylelint-config-rational-order"
],
"rules": {
"order/properties-alphabetical-order": [false], // <-- This line
"selector-class-pattern": ["[a-z]",{
"resolveNestedSelectors": true
}],
"max-nesting-depth": [2, {}]
}
} The |
Ok, so after looking it up, it's not "[false]" to disable alphabetical-order, but "null". So with this config : {
"extends": [
"stylelint-config-standard",
"stylelint-config-sass-guidelines",
"stylelint-config-rational-order"
],
"rules": {
"order/properties-alphabetical-order": null,
"selector-class-pattern": ["[a-z]",{
"resolveNestedSelectors": true
}],
"max-nesting-depth": [2, {}]
}
} The --fix is working as expected. But I don't understand why I have to add this line manually. Shouldn't the plugin do it for me ? |
With this css:
This configuration (basically copy/pasta).
And the command:
Strictly nothing happen.
The text was updated successfully, but these errors were encountered: