stylelint-config-factorial
Factorial shareable config for stylelint.
Configuration rules to ensure your CSS code is compliant with Factorial's CSS code style.
Our configuration extends stylelint-config-suitcss and is also based on the wonderful work at SUIT CSS's code style.
Installation
$ npm install stylelint-config-factorial --save-dev
Usage
Create a .stylelintrc
file in your project and set your config to:
This configuration then can be consumed by various tools.
We recommend using a plugin for your build tool and editor.
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: