1.4.0 • Published 6 years ago

@alexandrov/stylelint-config v1.4.0

Weekly downloads
-
License
MIT
Repository
github
Last release
6 years ago

@alexandrov/stylelint-config

Install

npm i -g \
  stylelint \
  stylelint-scss \
  stylelint-selector-bem-pattern \
  @alexandrov/stylelint-config

Set up your global stylelint rules

Copy user-config/.stylelintrc.js to ~/.stylelintrc.js

cp user-config/.stylelintrc.js ~/.stylelintrc.js

Extending the config

Simply add a "rules" key to your config, then add your overrides and additions there.

For example, to turn off the block-no-empty rule:

module.exports = {
  extends: "/usr/local/lib/node_modules/@alexandrov/stylelint-config", // use only this
  rules: {
    "block-no-empty": null,
  },
}
1.4.0

6 years ago

1.3.3

6 years ago

1.3.2

6 years ago

1.3.1

6 years ago

1.2.1

6 years ago

1.2.0

6 years ago

1.1.3

6 years ago

1.1.2

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.0

6 years ago