JSPM

  • Created
  • Published
  • Downloads 7370
  • Score
    100M100P100Q134463F
  • License MIT

StyleLint configuration used by dg-scripts.

Package Exports

  • @dg-scripts/stylelint-config
  • @dg-scripts/stylelint-config/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@dg-scripts/stylelint-config) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@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