+ 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 10.7K GitHub stars and 992 GitHub forks. Here’s a link to Stylelint's open source repository on GitHub

Who uses Stylelint?

88 companies reportedly use Stylelint in their tech stacks, including wadiz, Frontend, and EnergySage.

165 developers on StackShare have stated that they use Stylelint.

Stylelint Integrations

Pros of Stylelint
Great way to lint your CSS or SCSS
Only complains about real problems
Decisions about Stylelint

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

Needs advice
ESLintESLintSass Lint Sass Lint

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

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
100 developers follow Stylelint to keep up with related blogs and decisions.