JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 231
  • Score
    100M100P100Q97939F
  • License MIT

Stylelint configuration inspired by SMACSS

Package Exports

  • @touch4it/stylelint-config-guidelines
  • @touch4it/stylelint-config-guidelines/lib/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 (@touch4it/stylelint-config-guidelines) 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-guidelines

GitHub license npm version node version vulnerabilities last commit

Stylelint configuration inspired by SMACSS

Installation

$ npm install --save @touch4it/stylelint-config-guidelines

Usage

Set your stylelint config to:

{
  "extends": "@touch4it/stylelint-config-guidelines"
}

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

License

MIT

Authors