パッケージの詳細

stylelint-suitcss

suitcss33.4kMIT5.0.0

A collection of stylelint plugins for SUIT CSS

stylelint-plugin, stylelint, css, lint

readme

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

更新履歴

HEAD

5.0.0 (17 January, 2022)

  • Update stylelint to 14.2.0

4.0.0 (August 3, 2021)

  • Update stylelint to ^13.13.1
  • Update postcss-selector-parser to ^6.0.6
  • Update eslint to ^7.32.0
  • Update ava to ^3.15.0

3.0.0 (February 24, 2018)

  • Update stylelint to ^9.0.0 - Note this drops support for Node 4

2.0.0 (January 10, 2017)

  • Update stylelint to ^8.4.0

1.0.0 (March 01, 2017)

  • Initial port of deprecated :root rules from Stylelint core