A simple stylelint config for your project.
$ npm install stylelint-config-spartdev --save-dev
or
$ yarn add stylelint-config-spartdev -D
Create a .stylelintrc file with the following basic configuration:
{
"extends": "stylelint-config-spartdev"
}
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
}
}