stylelint

Stylelint is a code controller (linter) that helps prevent errors and enforce code standards for CSS and similar languages. Modern CSS has hundreds of built-in rules for syntax and can be customized through plugins. It can also automatically fix problems identified in appropriate situations.

ST

stylelint · Code Quality & Review

STARS11.5K
FORKS1.0K
COMMITS8.0K
CONTRIBUTORS427
VERSION17.15.0
UPDATED2 days ago
JavaScriptCSS LinterCode QualityStatic AnalysisMIT

Common commercial products in this category: SonarCloud, Codacy, DeepSource

What can it do?
  • Using hundreds of built-in rules, you detect invalid or faulty CSS codes.
  • You control the embedded styles in HTML, Markdown, and CSS-in-JS templates by extracting them.
  • You parse CSS-like languages such as SCSS, Sass, Less, and SugarSS and apply code standards.
User reviews
  • • NeutralHacker News

    Stylelint – A modern linter for CSS

    “The only thing lacking about Stylus is the documentation really - the built-in functions page seems to list functions in random order (could be in order of addition to the language I guess!), there's no master index of the various syntax features, its usefulness varies a lot…”

  • • NeutralHacker News

    Stylelint – A modern linter for CSS

    “If using Chrome's Stylus extension's support for using Stylelint to lint a style written in Stylus is the same as on the command line, then the only real issue I've had is that you often need to use colons to separate properties and values to prevent Stylelint giving cryptic…”

My note

Alternative pages

More in: Code Quality & Review