stylelint understands the latest CSS syntax including custom properties and level 4 selectors. Extracts embedded styles from HTML, markdown and CSS-in-JS object & template literals. 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. Supports plugins so you can create your own rules or make use of plugins written by the community. Automatically fixes the majority of stylistic violations. Itis well tested with over 15000 unit tests. Supports shareable configs that you can extend or create. It is unopinionated so that you can customize it to your exact needs. stylelint has a growing community and is used by Facebook, GitHub and WordPress. You can configure the built-in stylistic rules to allow both multi-line and single-line rules. The choice of when to use each belongs to the user.

Features

  • Analyzes source code to flag programming errors, bugs, stylistic errors, and suspicious constructs
  • The built-in stylistic rules and plugins are configurable to support a diverse range of stylistic conventions
  • The stylelint-order plugin can be configured to lint and fix a diverse range of ordering conventions
  • You can configure the built-in stylistic rules to allow both multi-line and single-line rules
  • Identifies invalid code such as misformed hex colors and unknown language features
  • Due to the nature of stylelint as a code quality tool, we follow a specific flavor of semantic versioning

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow stylelint

stylelint Web Site

Other Useful Business Software
Cut Cloud Costs with Google Compute Engine Icon
Cut Cloud Costs with Google Compute Engine

Save up to 91% with Spot VMs and get automatic sustained-use discounts. One free VM per month, plus $300 in credits.

Save on compute costs with Compute Engine. Reduce your batch jobs and workload bill 60-91% with Spot VMs. Compute Engine's committed use offers customers up to 70% savings through sustained use discounts. Plus, you get one free e2-micro VM monthly and $300 credit to start.
Try Compute Engine
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of stylelint!

Additional Project Details

Programming Language

JavaScript

Related Categories

JavaScript User Interface (UI) Software, JavaScript Source Code Analysis Tool, JavaScript Linters

Registered

2021-06-29