matype / stylefmt

stylefmt is a tool that automatically formats stylesheets.
Other
2.1k stars 89 forks source link

Not working anymore with stylelint-config-standard 18.0.0 #328

Closed jimblue closed 6 years ago

jimblue commented 6 years ago

Environment:

VSCode Version: 1.18.1 OS Version: OSX 10.13.1

Actual behavior:

Not formatting

Expected behavior:

Should format (was working before upgrading to stylelint-config-standard 18.0.0)

Steps to reproduce:

In .stylelintrc

"extends": "stylelint-config-standard",
  "plugins": [
    "stylelint-scss"
  ]
...
jimblue commented 6 years ago

As explained here:

https://github.com/stylelint/stylelint/issues/3042#issuecomment-347578941

The problem come from the version of stylelint in your dependencies:

https://github.com/morishitter/stylefmt/blob/875c9037590fa201bdd7698fbfa5c1943137cc86/package.json#L44

Could you please update it to the latest: stylelint 8.3.1

Thank you

jeromecovington commented 6 years ago

I ran into this today with the following rule erroring & not being formatted font-family-no-missing-generic-family-keyword.

The following rule was not erroring, but was not being formatted: no-descending-specificity

I had just updated to stylelint-config-standard@18.0.0