SUIT CSS config for stylelint
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
__tests__
.editorconfig
.gitattributes
.gitignore
.travis.yml
CHANGELOG.md
LICENSE
README.md
appveyor.yml
index.js
package.json
yarn.lock

README.md

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