hugomrdias / prettier-stylelint

code > prettier > stylelint > formatted code
MIT License
175 stars 29 forks source link

Use peerDependency of stylelint #16

Closed Samic8 closed 5 years ago

Samic8 commented 6 years ago

It would be nice if we could specify exactly the version of stylelint we want to use within our project. For example I use the version of the stylelint package directly in my package.json to print out warnings/errors, and I want the same version of stylelint when running prettier-stylelint.

Could this be achieved if we changed stylelint to a peerDependency?