stylelint-config-elao
Elao Stylelint configuration
A configurable Stylelint configuration used in Elao projects.
Installation
The config require the stylelint
package.
$ npm install --save-dev stylelint stylelint-config-elao
Usage
Create a .stylelintrc
file with this following configuration:
{
"extends": "stylelint-config-elao"
}
Then run the following command:
$ stylelint "path/to/**/*.scss" --syntax scss -f verbose
Extending the config
Add a "rules"
key to your config and add your overrides rules there.
For example, to change the indentation from 2 spaces to 4 and turn off the number-leading-zero
rule:
{
"extends": "stylelint-config-elao",
"rules": {
"indentation": 4,
"number-leading-zero": null
}
}