/stylelint-config-suitcss

SUIT CSS config for stylelint

Primary LanguageJavaScriptMIT LicenseMIT

stylelint-config-suitcss

NPM version Build Status AppVeyor Build Status

SUIT CSS shareable config for stylelint.

Configuration rules to ensure your CSS code is compliant with SUIT CSS's code style.

Installation

$ npm install stylelint-config-suitcss

Usage

Set your stylelint config to:

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

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:

{
  "extends": "stylelint-config-suitcss",
  "rules": {
    "indentation": "tab",
    "number-leading-zero": null
  }
}

Changelog

License