stylelint/stylelint
A mighty CSS linter that helps you avoid errors and enforce conventions. observed · 2026-08-28
Health v2 · maintenance only
97/100
- Activity 99
- Release rhythm 93
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 11.5
- age_days: 4290
- days_rel: 45
- days_push: 7
- n_releases_24m: 43
Adoption not part of the score
11513 stars · 1017 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Stylelint is a CSS linter with over 100 built-in rules that helps developers avoid errors and enforce style conventions. It supports plugins, shareable configs, automatic fixes, and can lint CSS-like languages such as SCSS, Sass, Less, and CSS-in-JS via PostCSS-compatible syntaxes.
Use cases
- lint css files for errors and style violations
- enforce css coding conventions across a team
- automatically fix css linting problems
- lint scss and sass stylesheets
- lint styles embedded in html markdown or css-in-js
- catch duplicate selectors and misspelled css properties
- set up shareable css linting rules for a project
When to choose
- you need to catch errors and enforce conventions in CSS or CSS-like languages
- you want a highly extensible linter with plugins, custom rules, and shareable configs
- you need autofixing and integration with build tools or editors via CLI or Node.js API
When to avoid
- you only want code formatting rather than linting - use a pretty printer like Prettier instead
- you need to lint languages other than CSS and its variants
- you want a zero-configuration linter without writing any config
Facets
library · maturity stable
linter formatter cli developer-tools web-development frontend developer-tools cli cross-platform css postcss scss less css-in-js code-quality static-analysis autofix shareable-configs nodejs
7 sources
- readme: https://github.com/stylelint/stylelint · fetched 2026-08-28 · 50cb9a53c2ba
- homepage: https://stylelint.io · fetched 2026-08-29 · 067397f015f9
- site_page: https://stylelint.io/about/vision · fetched 2026-08-29 · a59b6f6f34b4
- site_page: https://stylelint.io/maintainer-guide/releases · fetched 2026-08-29 · f586b8031803
- site_page: https://stylelint.io/about/governance · fetched 2026-08-29 · a71c379aa41b
- site_page: https://stylelint.io/about/semantic-versioning · fetched 2026-08-29 · a933c1673d38
- site_page: https://stylelint.io/CHANGELOG · fetched 2026-08-29 · 15e69e6fbe69
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| stylelint/stylelint | main | 97 |
For agents
markdown · JSON · MCP: product_card(name="stylelint/stylelint")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem