csstools / stylelint-use-nesting

Enforce nesting when it is possible in CSS
Creative Commons Zero v1.0 Universal
41 stars 8 forks source link

Stylelint 14 support #11

Closed scott-lc closed 8 months ago

scott-lc commented 3 years ago

Stylelint 14 is out - https://stylelint.io/migration-guide/to-14

From a plugin standpoint, it looks like the upgrade to PostCSS 8 is the biggest internal change - https://stylelint.io/migration-guide/to-14/#plugin-authors

Is supporting Stylelint 14 as simple as changing the engines and peerDependencies to..

  "engines": {
    "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
  },

  "peerDependencies": {
    "stylelint": "10 - 14"
  },

?

benbender commented 2 years ago

I've opened https://github.com/csstools/stylelint-use-nesting/pull/12 to push a tiny little bit :D

benbender commented 2 years ago

@jonathantneal Hey, sorry for being annoying, but would it be possible to merge #12 so this can be used again? Would be very much appreciated!

romainmenke commented 8 months ago

It's been a while and we are now at Stylelint 16. This is large change so the minimum version is now also Stylelint 16