Atölye15 shareable config for stylelint.
Configuration rules to ensure your CSS code is compliant with Atölye15's code style.
yarn add @atolye15/stylelint-config --dev
# Or with npm:
npm install @atolye15/stylelint-config --save-dev
Set your stylelint config to:
{
"extends": "@atolye15/stylelint-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": "@atolye15/stylelint-config",
"rules": {
"indentation": "tab",
"number-leading-zero": null
}
}