Skip to content

bjentsch/stylelint-config-suitcss

 
 

Repository files navigation

stylelint-config-suitcss

NPM version 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
  }
}

About

SUIT CSS config for stylelint

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 78.7%
  • CSS 21.3%