Skip to content

Latest commit

 

History

History
executable file
·
43 lines (29 loc) · 857 Bytes

README.markdown

File metadata and controls

executable file
·
43 lines (29 loc) · 857 Bytes

stylelint-config-usoniancss

NPM version

Usonian CSS shareable config for stylelint.

Configuration rules to ensure your CSS code is compliant with UsonianCSS.

Installation

$ npm install --save-dev stylelint-config-usoniancss

Usage

Set your stylelint config to:

{
  "extends": "stylelint-config-usoniancss"
}

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 disable the color-hex-case rule:

{
  "extends": "stylelint-config-usoniancss",
  "rules": {
    "indentation": "tab",
    "color-hex-case": null
  }
}

License

MIT © Brad Cerasani