stylelint-config-elao

0.5.0 • Public • Published

stylelint-config-elao

Elao Stylelint configuration

A configurable Stylelint configuration used in Elao projects.

Installation

The config require the stylelint package.

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

Usage

Create a .stylelintrc file with this following configuration:

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

Then run the following command:

$ stylelint "path/to/**/*.scss" --syntax scss -f verbose

Extending the config

Add a "rules" key to your config and add your overrides rules there.

For example, to change the indentation from 2 spaces to 4 and turn off the number-leading-zero rule:

{
  "extends": "stylelint-config-elao",
  "rules": {
    "indentation": 4,
    "number-leading-zero": null
  }
}

Changelog

License

Dependencies (4)

Dev Dependencies (4)

Package Sidebar

Install

npm i stylelint-config-elao

Weekly Downloads

5

Version

0.5.0

License

MIT

Last publish

Collaborators

  • nervo