@up-line/stylelint-bem-ruleset
v2.0.1
Published
## Install
Downloads
335
Readme
BEM ruleset for stylelint
Install
Run
npm i @up-line/stylelint-bem-ruleset
Add to .stylelintrc.js
module.exports = {
plugins: [
'@up-line/stylelint-bem-ruleset'
]
}
Rules
Classnames
Validate classnames according to classic BEM
{
"stylelint-bem-ruleset/classnames": true
}
Nested
Validate scss nesting, read more
{
"stylelint-bem-ruleset/nested": true
}