2.0.0 • Published 9 years ago
stylelint-config-spartdev v2.0.0
stylelint-config-spartdev
A simple stylelint config for your project.
Installation
$ npm install stylelint-config-spartdev --save-devor
$ yarn add stylelint-config-spartdev -DUsage
Create a .stylelintrc file with the following basic configuration:
{
"extends": "stylelint-config-spartdev"
}Extending the config
Simply add a "rules" key to your config and add your overrides there.
For example, to change the indentation to tabs and turn off the number-leading-zero rule:
{
"extends": "stylelint-config-spartdev",
"rules": {
"indentation": "tab",
"number-leading-zero": null
}
}