stylelint-config-suitcss

v19.0.0
SUIT CSS config for stylelint
stylelint stylelint-config suitcss

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 allow empty blocks in your CSS turn off the block-no-empty rule:

{
  "extends": "stylelint-config-suitcss",
  "rules": {
    "block-no-empty": null
  }
}

Changelog

License

Metadata

  • MIT
  • Whatever
  • stylelint
  • released 5/2/2023

Downloads