4.0.0 • Published 3 months ago

@thoughtbot/stylelint-config v4.0.0

Weekly downloads
1,025
License
MIT
Repository
github
Last release
3 months ago

thoughtbot stylelint Config

A sharable stylelint configuration that enforces thoughtbot’s Sass guides.

Installation

If using npm, run:

npm install @thoughtbot/stylelint-config --save-dev

If using Yarn, run:

yarn add @thoughtbot/stylelint-config --dev

Usage

Set your stylelint configuration to:

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

You can override rules from the shared configuration, by setting your own values within the rules property:

{
  "extends": "@thoughtbot/stylelint-config",
  "rules": {
    "string-quotes": "single"
  }
}

You can also turn a rule off, by setting the value of the rule to null:

{
  "extends": "@thoughtbot/stylelint-config",
  "rules": {
    "string-quotes": null
  }
}

License

thoughtbot stylelint Config is copyright (c) 2020 thoughtbot, inc. It is free software, and may be redistributed under the terms specified in the LICENSE file.

About

thoughtbot

thoughtbot stylelint Config is maintained and funded by thoughtbot, inc. The names and logos for thoughtbot are trademarks of thoughtbot, inc.

We love open source software! See our other projects or hire us to help build your product.

4.0.0

3 months ago

3.0.1

10 months ago

3.0.0

2 years ago

2.0.0

4 years ago

1.2.0

4 years ago

1.1.0

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago

0.2.0

5 years ago

0.1.0

6 years ago