stylelint-config-ultimate

0.2.2 • Public • Published

stylelint-config-ultimate

The ultimate shareable config for stylelint.

Extends stylelint-config-standard.

Turns on additional rules to enforce the common stylistic conventions found within a handful of CSS styleguides, including: The Idiomatic CSS Principles, Google's CSS Style Guide, Airbnb's Styleguide, and @mdo's Code Guide.

It favours flexibility over strictness for things like multi-line lists and single-line rulesets, and tries to avoid potentially divisive rules.

Use it as is or as a foundation for your own config.

To see the rules that this config uses, please read the config itself.

Installation

npm install stylelint-config-ultimate --save-dev

Usage

If you've installed stylelint-config-ultimate locally within your project, just set your stylelint config to:

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

If you've globally installed stylelint-config-ultimate using the -g flag, then you'll need to use the absolute path to stylelint-config-ultimate in your config e.g.

{
  "extends": "/absolute/path/to/stylelint-config-ultimate"
}

Suggested additions

stylelint-config-ultimate is a great foundation for your own config. You can extend it to create a tailored and much stricter config:

Changelog

License

Package Sidebar

Install

npm i stylelint-config-ultimate

Weekly Downloads

1

Version

0.2.2

License

MIT

Unpacked Size

36.7 kB

Total Files

5

Last publish

Collaborators

  • hopefuture