stylelint-suitcss-rules
v2.0.3
Published
List of stylelint rules for SuitCSS naming convention
Downloads
385
Maintainers
Readme
stylelint-suitcss-rules
This [stylelint] configuration validates that your SCSS files follow the SuitCSS naming conventions (probably with some custom adjustments).
I encourage you to have a llok at src/index.js
to see all the rules.
Installation
npm install --save-dev stylelint-suitcss-rules
Usage
Add this configuration to the end of your extends
array inside .stylelintrc
.
This package already extends stylelint-config-sass-guidelines and must be used with Sass/Scss files.
{
"extends": [
// ...some other shareable Stylelint configuration
"stylelint-suitcss-rules"
],
"rules": {
// ...your own custom rules and overrides
}
}