1.0.4 • Published 7 years ago

stylelint-config-regardio v1.0.4

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

stylelint-config-regardio

NPM version Build Status AppVeyor Build Status

Regardio shareable config for stylelint.

Configuration rules to ensure your (S)CSS code is compliant with Regardio's styleguide.

This configuration extends stylelint-config-suitcss.

The styleguide adapts concepts from

Installation

$ npm install stylelint-config-regardio --save-dev

Usage

Create a .stylelintrc file in your project and set your config to:

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

This configuration then can be consumed by various tools.
We recommend using a plugin for your build tool and editor.

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

Changelog

License