juanca / stylelint-css-modules

Stylelint ruleset for CSS modules
10 stars 1 forks source link

support stylelint@14 #36

Closed JustFly1984 closed 2 years ago

JustFly1984 commented 2 years ago

I get warnings while installing packages: stylelint-css-modules@1.2.0-globals" has incorrect peer dependency "stylelint@^9 || ^10 || ^11 || ^12 || ^13".

juanca commented 2 years ago

@JustFly1984 I made some changes to support any stylelint version and just published a pre-release to verify it will work.

Can you verify that 1.2.0-stylelint14 works for you?

JustFly1984 commented 2 years ago

@juanca I've checked new release and now it has different warning: " > stylelint-css-modules@1.2.0-stylelint14" has incorrect peer dependency "stylelint@>= ^9".

I definitely have "stylelint": "14.3.0" in package.json

juanca commented 2 years ago

Okay, I see what is wrong. I went ahead and fixed the semver range. Install the latest version of this package (1.2.1) and it should be good to go.

Let me know if you run into other weird issues 😅

JustFly1984 commented 2 years ago

Thank you @juanca !