We present to you a mighty, modern linter that helps you avoid errors and enforce conventions in your styles.


Here are the main features of the stylelint, that make it mighty:

It understands the latest CSS syntax including custom properties and level 4 selectors and extracts embedded styles from HTML, markdown and CSS-in-JS object & template literals.

It 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 and also supports plugins so you can create your own rules or make use of plugins written by the community. It is well tested with over 15000 unit tests. It also is unopinionated so that you can customize it to your exact needs, supports shareable configs that you can extend or create and has a growing community and is used by Facebook, GitHub and WordPress.

Here’s a guide on how to get started.

Tags: , , , , , , , , , , , , , , , , , , , , , ,
Nikoleta Yanakieva Editor at DevStyleR International