Intracto / stylelint-config-intracto

NPM package
0 stars 1 forks source link

Ditch `stylelint-prettier` #3

Open MartijnCuppens opened 4 years ago

MartijnCuppens commented 4 years ago

It looks like stylelint-prettier is hard to combine with other rules. Every rule in stylelint-prettier is called prettier/prettier which makes it impossible to disable or override these rules.

Fom the documentation (https://github.com/prettier/stylelint-prettier#recommended-configuration):

This plugin works best if you disable all other Stylelint rules relating to code formatting, and only enable rules that detect patterns in the AST. (If another active Stylelint rule disagrees with prettier about how code should be formatted, it will be impossible to avoid lint errors.)