albell / stylelint

A mighty, modern style linter

Home Page:https://stylelint.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 because it:

  • understands the latest CSS syntax including custom properties and level 4 selectors
  • extracts embedded styles from HTML, markdown and CSS-in-JS object & template literals
  • parses CSS-like syntaxes like SCSS, Sass, Less and SugarSS
  • has over 170 built-in rules to catch errors, apply limits and enforce stylistic conventions
  • supports plugins so you can create your own rules or make use of plugins written by the community
  • automatically fixes some violations (experimental feature)
  • is well tested with over 15000 unit tests
  • supports shareable configs that you can extend or create your own of
  • is unopinionated so you can tailor the linter to your exact needs
  • has a growing community and is used by Facebook, GitHub and WordPress

Example output

Example

Getting started

You'll find everything you need to get started in our docs.

Contributors

Without all these wonderful people this project would not exist.

Backers

Thank you to all our backers! Become a backer.

Sponsors

Support this project by becoming a sponsor. Your logo will show up here with a link to your website.

License

The MIT License.

About

A mighty, modern style linter

https://stylelint.io/

License:MIT License


Languages

Language:JavaScript 98.6%Language:CSS 1.0%Language:Yacc 0.3%Language:HTML 0.0%Language:Vue 0.0%Language:Shell 0.0%Language:TypeScript 0.0%