stylelint-config-twbs-bootstrap npm version CI Status

An opinionated Stylelint config used by Bootstrap across our projects.

Installation

npm install stylelint-config-twbs-bootstrap --save-dev
# Or with yarn:
yarn add stylelint-config-twbs-bootstrap --dev

Usage

We provide a single config that covers both CSS and SCSS. It will automatically apply SCSS rules to files ending in .scss.

You simply have to extend this config in your Stylelint config:

{
  "extends": "stylelint-config-twbs-bootstrap"
}

To see the included rules, please check index.js.

License

Released under the MIT License.