{"repo":"stylelint/stylelint","free":true,"listed":false,"github":"https://github.com/stylelint/stylelint","clone":"git clone https://github.com/stylelint/stylelint.git","description":"A mighty CSS linter that helps you avoid errors and enforce conventions.","language":"JavaScript","stars":11513,"topics":["linter","css","postcss","lint","enforce-conventions"],"license":"MIT","category":"dev-tools","readme_excerpt":"Stylelint A mighty CSS linter that helps you avoid errors and enforce conventions. Features It's mighty as it: - has over 100 built-in rules for modern CSS syntax and features - supports plugins so you can create your own custom rules - automatically fixes problems where possible - supports shareable configs that you can create or extend - can be customized to your exact needs - has 15k unit tests making it robust - is trusted by companies worldwide like Google and GitHub And it can be extended to: - extract embedded styles from HTML, Markdown and CSS-in-JS template literals - parse CSS-like languages like SCSS, Sass, Less and SugarSS How it'll help you It'll help you avoid errors , for example: - invalid things, e.g. malformed grid areas - valid things that are problematic, e.g. duplicate selectors - unknown things, e.g. misspelled property names And enforce conventions , for example: - disallow things, e.g. specific units - enforce naming patterns, e.g. for custom properties - set limits, e.g. the number of ID selectors - specify notations, e.g. for modern color functions We recommend using a pretty printer like Prettier alongside Stylelint. Linters and pretty printers are complementary tools that work together to help you write consistent and error-free code. Example output Guides - User guide - Getting started - Customizing - Configuring - Rules - Ignoring code - CLI - Node.js API - PostCSS plugin - Options - Errors & warnings - Developer guide - Writing plugins - Writing","default_branch":null,"files":null,"tree":[],"storefront":"/r/stylelint","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/stylelint/stylelint/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}