prettier / stylelint-config-prettier-scss

Turns off all CSS and SCSS rules that are unnecessary or might conflict with prettier.
MIT License
25 stars 4 forks source link

Peer Dependency issue #11

Closed drew0530 closed 1 year ago

drew0530 commented 1 year ago

image

This package is not up to date with the latest version of stylelint.

elwayman02 commented 1 year ago

@drew0530 can you explain the issue you're seeing in more detail? The error in your screenshot looks like it's coming from stylelint-config-prettier (a deprecated package) requiring a lower version of stylelint, which has nothing to do with this package, stylelint-config-prettier-scss.

drew0530 commented 1 year ago

It appears to me that stylelint-config-prettier-scss requires version 15.0.0, and I have 15.10.0 installed, which is providing me a warning. image

image

image

Sorry for the ambiguity.

elwayman02 commented 1 year ago

@drew0530 that is not an error. This package requires any version of stylelint >=15, which is valid in your case. The screenshot you shared shows the error I described above. Do you have stylelint-config-prettier installed? If so, remove it and the error will go away.

drew0530 commented 1 year ago

That solved the issue, thank you.