JSPM

  • Created
  • Published
  • Downloads 15653
  • Score
    100M100P100Q147512F
  • License MIT

StyleLint configuration used by Bod CLI.

Package Exports

  • stylelint-config-bod

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 (stylelint-config-bod) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

stylelint-config-bod

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 stylelint-config-bod

Usage

set .stylelintrc.json to:

{
  "extends": "stylelint-config-bod"
}

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

Features

  • Based on stylelint-config-standard.
  • A11Y check.
  • Idiomatic order.

Reference

Contact

Email Twitter GitHub