stylelint-suitcss

5.0.0 • Public • Published

stylelint-suitcss

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

/stylelint-suitcss/

    Package Sidebar

    Install

    npm i stylelint-suitcss

    Weekly Downloads

    8,306

    Version

    5.0.0

    License

    MIT

    Unpacked Size

    19.1 kB

    Total Files

    27

    Last publish

    Collaborators

    • alecrust
    • simonsmith