stylelint-config-adidas-bem

2.0.0 • Public • Published

npm version

stylelint-config-adidas-bem

adidas configuration for stylelint CSS linter tool.

It uses the BEM pattern plugin with some custom rules: stylelint-selector-bem-pattern.

Install

npm i --save-dev stylelint@15 stylelint-config-adidas stylelint-config-adidas-bem

Project specific configuration.

Create a .stylelintrc file on the root folder of the project.

{
  "extends": [
    "stylelint-config-adidas",
    "stylelint-config-adidas-bem"
  ]
}

The defined rules can be modified adding other configurations, plugins or custom rules.

{
  "extends": [
    "stylelint-config-adidas",
    "stylelint-config-adidas-bem",
    "my-custom-stylelint-config"
  ],
  "rules": {
    "at-rule-no-unknown": [ true, {
      "ignoreAtRules": [ "my-rule" ]
    }]
  }
}

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 2.0.0
    10
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 2.0.0
    10
  • 1.2.0
    50
  • 1.1.0
    0
  • 1.0.1
    0
  • 1.0.0
    0

Package Sidebar

Install

npm i stylelint-config-adidas-bem

Weekly Downloads

60

Version

2.0.0

License

MIT

Unpacked Size

2.85 kB

Total Files

4

Last publish

Collaborators

  • adidas