2.0.0 • Published 7 months ago

stylelint-config-adidas-bem v2.0.0

Weekly downloads
70
License
MIT
Repository
github
Last release
7 months ago

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" ]
    }]
  }
}

Links