stylelint-config-twbs-bootstrap

An opinionated Stylelint config used by Bootstrap across our projects.

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
stylelint-config-twbs-bootstrap
152114.1.0a month ago5 years agoMinified + gzip package size for stylelint-config-twbs-bootstrap in KB

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.