Crishpeen' shareable config for Stylelint.
Extends stylelint-config-standard with more strict rules and giving preference to indentation with 4 spaces.
To see the rules that this config uses, please read the config itself.
Install Stylelint and this config:
$ npm install --save-dev stylelint @crishpeen/stylelint-config-crishpeen
Apply the config in your .stylelintrc
file:
{
"extends": "@crishpeen/stylelint-config-crishpeen"
}
To further extend control over coding style of your stylesheets, you can also check for rules order using stylelint-order plugin along with our config @crishpeen/stylelint-config-crishpeen-order.