@worldia/stylelint-config

0.1.2 • Public • Published

@worldia/stylelint-config

This package includes the shareable stylelint configuration used at Worldia.

Installation

$ yarn add @worldia/stylelint-config -D

or if you use npm

$ npm install @worldia/stylelint-config --save-dev

Usage

Create a .stylelintrc file with the following basic configuration:

{
  "extends": "@worldia/stylelint-config"
}

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

Package Sidebar

Install

npm i @worldia/stylelint-config

Weekly Downloads

2

Version

0.1.2

License

MIT

Unpacked Size

12.1 kB

Total Files

10

Last publish

Collaborators

  • worldia