2.0.1 • Published 12 months ago

@up-line/stylelint-bem-ruleset v2.0.1

Weekly downloads
-
License
ISC
Repository
github
Last release
12 months ago

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
}
2.0.1

12 months ago

2.0.0

12 months ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.0

3 years ago