Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

stylelint-config-twbs-bootstrap

twbs881.3kMIT15.1.0

An opinionated Stylelint config used by Bootstrap across our projects.

bootstrap, stylelint, stylelint-config, config, lint

readme

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.