stylelint-config-copilot-base
v1.0.0-rc.5
Published
Opinionated Stylelint-Configuration
Downloads
186
Maintainers
Readme
stylelint-config-copilot-base
Stylelint shareable config with stylelint's built-in rules
Install
npm install stylelint-config-copilot-base --save-dev
Usage
Add this to your Stylelint config:
{
"extends": "stylelint-config-copilot-base"
}
Example: Rename .stylelintrc.example.js
to .stylelintrc.js
Related
- stylelint-config-copilot-scss - Shareable config based with scss specific rules
- stylelint-config-copilot-plugins - Shareable config for various stylelint plugins
- stylelint-config-copilot-order - Shareable config for order specific rules
Troubleshooting
- VSCode:
stylelint: Undefined rule unicode-bom
: This is an issue that (might) occur when usingvscode-stylelint (shinnn.stylelint)
orvscode-stylelint-plus (hex-ci.stylelint-plus)
. Use the officialstylelint.vscode-stylelint
extension which should fix the problem. If the linter still throws the warning/error, you can overwrite the rule in your config:
"rules": {
"unicode-bom": null
}