stylelint
TypeScript icon, indicating that this package has built-in type declarations

14.1.0 • Public • Published

Stylelint

npm version Build Status npm downloads

A mighty, modern linter that helps you avoid errors and enforce conventions in your styles.

Features

It's mighty as it:

  • understands modern CSS syntax and features
  • has over 170 built-in rules to catch errors and enforce conventions
  • supports plugins so you can create your own rules
  • automatically fixes the majority of stylistic problems
  • is well tested with over 15000 unit tests
  • supports shareable configs that you can extend or create
  • is unopinionated so that you can customize it to your exact needs
  • has a growing community and is used by Google, GitHub and WordPress

And can be extended to:

  • parse CSS-like syntaxes like SCSS, Sass, Less and SugarSS
  • extract embedded styles from HTML, Markdown and CSS-in-JS object & template literals

Example output

Example

Guides

Contributors

Stylelint is maintained by volunteers. Without the code contributions from all these fantastic people, Stylelint would not exist. Become a contributor.

Sponsors

Thank you to all our sponsors! Become a sponsor.

Backers

Thank you to all our backers! Become a backer.

Website hosting

Deploys by Netlify

License

The MIT License.

Install

npm i stylelint@14.1.0

Homepage

stylelint.io

Version

14.1.0

License

MIT

Unpacked Size

791 kB

Total Files

359

Last publish

Collaborators

  • ntwb
  • davidtheclark
  • jeddy3
  • hudochenkov
  • ybiquitous
  • mattxwang