An opinionated Stylelint config used by Bootstrap across our projects.
npm install stylelint-config-twbs-bootstrap --save-dev
# Or with yarn:
yarn add stylelint-config-twbs-bootstrap --dev
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.
Released under the MIT License.