stylelint-config-wordpress
![Build status](https://ci.appveyor.com/api/projects/status/e5bv7cgn83ci69lo?svg=true)
WordPress shareable config for stylelint.
Configuration rules to ensure your CSS is compliant with the WordPress CSS Coding Standards.
Installation
$ npm install stylelint-config-wordpress
Usage
Set your stylelint config to:
{
"extends": "stylelint-config-wordpress"
}
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-wordpress",
"rules": {
"indentation": 4,
"number-leading-zero": null
}
}