stylelint-config-toolkit

0.0.24 • Public • Published

stylelint-config-toolkit

Usage

Run the following command using npm:

npm i stylelint stylelint-config-toolkit --save-dev

If you prefer Yarn, use the following command instead:

yarn add stylelint stylelint-config-toolkit --dev

Configuration

Now that you've added stylelint and the stylelint configuration for toolkit, you can specify your configuration in one of these locations.

For example, if I included a stylelint key in the package.json file in a project then I would do the following:

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

You can always override any rule that stylelint-config-toolkit provides that causes issues in your codebase by adding additional rules to the rules key. You can also use stylelint-config-toolkit with any other stylelint plugins by changing the extends value to an array and including the packages alongside stylelint-config-toolkit.

🤲 Contributing

To learn more about how to contribute, look here!

Readme

Keywords

none

Package Sidebar

Install

npm i stylelint-config-toolkit

Weekly Downloads

0

Version

0.0.24

License

Apache-2.0

Unpacked Size

37.7 kB

Total Files

8

Last publish

Collaborators

  • joshblack
  • carbon-bot