@dg-scripts/stylelint-config

5.21.0 • Public • Published

@dg-scripts/stylelint-config

Author LICENSE

Node Version NPM Version CDN

CI Jest Coverage Jest Coverage

This package includes the shareable StyleLint configuration used by Bod CLI.

Installation

npm install -D @dg-scripts/stylelint-config

Usage

Set .stylelintrc.json to:

{
  "extends": "@dg-scripts/stylelint-config"
}

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": "@dg-scripts/stylelint-config",
  "rules": {
    "indentation": "tab",
    "number-leading-zero": null
  }
}

Features

Reference

Contact

Email Twitter GitHub

Package Sidebar

Install

npm i @dg-scripts/stylelint-config

Weekly Downloads

168

Version

5.21.0

License

MIT

Unpacked Size

18.2 kB

Total Files

5

Last publish

Collaborators

  • sabertazimi