My personal Stylelint config.
Install:
npm install --save-dev stylelint @zrev2220/stylelint-config
Create/edit .stylelintrc
:
{
"extends": "@zrev2220/stylelint-config"
}
Lint your styles:
npx stylelint -i .gitignore --aei --mw 0 "**/*.{css,scss}"
See also the extends
config property.