@up-line/stylelint-bem-ruleset

2.0.1 • Public • Published

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
}

Readme

Keywords

Package Sidebar

Install

npm i @up-line/stylelint-bem-ruleset

Weekly Downloads

210

Version

2.0.1

License

ISC

Unpacked Size

10.3 kB

Total Files

12

Last publish

Collaborators

  • vaiil