twbs/stylelint-config-twbs-bootstrap

Stylelint config for Bootstrap

155

stars

372

commits

JavaScript

primary language

Jun 28, 2026

updated

getbootstrap.com
bootstrap
bootstrap-4
bootstrap-5
css
sass
scss
stylelint
stylelint-config
Browse cluster: Stylelint Configuration & CSS Linting

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.

Contributors

XhmikosR

173 commits

dependabot[bot]

160 commits

twbs/stylelint-config-twbs-bootstrap

Stylelint config for Bootstrap

155

stars

372

commits

JavaScript

primary language

Jun 28, 2026

updated

getbootstrap.com
bootstrap
bootstrap-4
bootstrap-5
css
sass
scss
stylelint
stylelint-config
Browse cluster: Stylelint Configuration & CSS Linting

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.

Contributors

XhmikosR

173 commits

dependabot[bot]

160 commits

Languages

JavaScript

100.0%