stylelint-prettier icon indicating copy to clipboard operation
stylelint-prettier copied to clipboard

Simplify integration with the recommended rules

Open SBoudrias opened this issue 5 years ago • 1 comments

The current setup forces users to include 2 dependencies. I think this is adding a lot of overhead when all the needs could be included within this package.

Making stylelint-config-prettier a dependency means users can now rely on a single package and receive everything built-in with this single package.

I think this is likely the most common setup for all users. The tradeoff is that install stylelint-prettier now always includes the config. But that's only a few extra kbs for people not using both the plugin and the config, so it seemed worthwhile to me.

SBoudrias avatar Feb 28 '20 06:02 SBoudrias

They are different, just like eslint-config-prettier and eslint-plugin-prettier.

JounQin avatar Feb 22 '21 20:02 JounQin

In #286 I've gone the other direction. I've removed stylelint-config-prettier from the recommended config, as the need for that package is waning in stylelint v15 - all the rules that stylelint-config-prettier configures have been deprecated and shall be removed in stylelint v16.

BPScott avatar Feb 23 '23 02:02 BPScott