2.0.0 • Published 7 years ago

stylelint-config-spartdev v2.0.0

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

stylelint-config-spartdev

Build Status GitHub license

A simple stylelint config for your project.

Installation

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

or

$ yarn add stylelint-config-spartdev -D

Usage

Create a .stylelintrc file with the following basic configuration:

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

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

Changelog

License