+ 1

What is Stylelint?

A mighty, modern CSS linter that helps you enforce consistent conventions and avoid errors in your stylesheets.
Stylelint is a tool in the Code Review category of a tech stack.
Stylelint is an open source tool with 8K GitHub stars and 726 GitHub forks. Here’s a link to Stylelint's open source repository on GitHub

Who uses Stylelint?

44 companies reportedly use Stylelint in their tech stacks, including Stack, Frontend, and wadiz.

75 developers on StackShare have stated that they use Stylelint.

Stylelint Integrations

Public Decisions about Stylelint

Here are some stack decisions, common use cases and reviews by companies and developers who chose Stylelint in their tech stack.

Scenario: I want to integrate Prettier in our code base which is currently using ESLint (for .js and .scss both). The project is using gulp.

It doesn't feel quite right to me to use ESLint, I wonder if it would be better to use Stylelint or Sass Lint instead.

I completed integrating ESLint + Prettier, Planning to do the same with [ Stylelint || Sasslint || EsLint] + Prettier.

And have gulp 'fix' on file save (Watcher).

Any recommendation is appreciated.

See more
Zarema Khalilova
Zarema Khalilova
Frontend Team Lead at Uploadcare · | 3 upvotes · 114.6K views
Shared insights

To avoid code formatting conflicts and keep a high quality of code we use linters. ESLint for #JavaScript, Stylelint for #CSS, remark-lint for #markdown. Good point that tools allow using shareable config, it useful cause we have many projects.

See more

Stylelint Alternatives & Comparisons

What are some alternatives to Stylelint?
Prettier is an opinionated code formatter. It enforces a consistent style by parsing your code and re-printing it with its own rules that take the maximum line length into account, wrapping code when necessary.
Sass Lint
It is a Node-only Sass linter for both sass and scss syntax. It can be run through a command line interface. Special comments can be used to disable and enable certain rules throughout your source files in a variety of scenarios.
A pluggable and configurable linter tool for identifying and reporting on patterns in JavaScript. Maintain your code quality with ease.
It is a tool to help keep your SCSS files clean and readable by running it against a collection of configurable linter rules. You can run it manually from the command line, or integrate it into your SCM hooks.
An extensible static analysis tool that checks TypeScript code for readability, maintainability, and functionality errors. It is widely supported across modern editors & build systems and can be customized with your own lint rules, configurations, and formatters.
See all alternatives

Stylelint's Followers
51 developers follow Stylelint to keep up with related blogs and decisions.
Marc Gavanier
Polly_Lee YP_
Victor Arenas
Eric Jones
Prem Kumar
Oleh Aloshkin
Wojciech Dudek