Stylelint shareable config for Sass (scss) support
npm install stylelint-config-copilot-scss --save-dev
Add this to your Stylelint config:
{
"extends": "stylelint-config-copilot-scss"
}
The plugin is already imported in the config, no need to set it in the plugins
array
Example: Rename .stylelintrc.example.js
to .stylelintrc.js
- stylelint-config-copilot-base - Shareable config based on built-in rules
- stylelint-config-copilot-plugins - Shareable config for various stylelint plugins
- stylelint-config-copilot-order - Shareable config for order specific rules