Default stylelint config used by Bootstrap.
npm install stylelint-config-twbs-bootstrap --save-dev
# Or with yarn:
yarn add stylelint-config-twbs-bootstrap --dev
We provide a config for both CSS and SCSS. You can choose which one you would like to extend in your configuration:
{
"extends": "stylelint-config-twbs-bootstrap/css"
}
{
"extends": "stylelint-config-twbs-bootstrap/scss"
}