stylelint-config-cumul8 v1.14.3
stylelint-config-cumul8
Cumul8 shareable config for stylelint.
Configuration rules to ensure your CSS is compliant with Cumul8's CSS Coding Standards
Installation
yarn add -D stylelint-config-cumul8Usage
NOTE:
stylelint-config-cumul8comes with its ownstylelint-cumul8bin tool so that you don't need to installstylelintas a peerDependency. All the necessary dependencies are bundled together for you.
If you've installed stylelint-config-cumul8 locally within your project, just set your stylelint config to:
{
"extends": "stylelint-config-cumul8"
}If you've globally installed stylelint-config-cumul8 using the -g flag, then you'll need to use the absolute path to stylelint-config-cumul8 in your config:
{
"extends": "/absolute/path/to/stylelint-config-cumul8"
}Extending the config
Simply add a "rules" key to your config and add your overrides there.
For example, to change the indentation to four spaces and turn off the number-leading-zero rule:
{
"extends": "stylelint-config-cumul8",
"rules": {
"indentation": 4,
"number-leading-zero": null
}
}License
7 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago