A collection of stylelint plugins for SUIT CSS
Switch branches/tags
Nothing to show
Clone or download
Latest commit b58c578 Feb 24, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
rules Add plugin files Mar 1, 2017
utils Fix ESLint failure Mar 1, 2017
.editorconfig Add plugin files Mar 1, 2017
.eslintrc Add plugin files Mar 1, 2017
.gitignore Add plugin files Mar 1, 2017
.travis.yml Update stylelint to v9 Feb 23, 2018
CHANGELOG.md 3.0.0 Feb 24, 2018
LICENSE Initial commit Mar 1, 2017
README.md Update README Mar 1, 2017
index.js Add plugin files Mar 1, 2017
index.test.js Add plugin files Mar 1, 2017
package.json 3.0.0 Feb 24, 2018
yarn.lock Update stylelint to v9 Feb 23, 2018

README.md

stylelint-suitcss

Build Status

A collection of stylelint plugins for SUIT CSS.

Installation

npm install stylelint-suitcss --save-dev

# or

yarn add stylelint-suitcss --dev

Usage

Add stylelint-suitcss to your stylelint config plugins array, then add rules you need to the rules object.

// .stylelintrc
{
  "plugins": [
    "stylelint-suitcss"
  ],
  "rules": {
    "suitcss/custom-property-no-outside-root": true,
    "suitcss/root-no-standard-properties": true,
    "suitcss/selector-root-no-composition": true
  }
}

Available rules