About: stylelint is a modern linter that helps you avoid errors and enforce conventions in your styles. FossiesDox: stylelint-15.3.0.tar.gz ("unofficial" and yet experimental doxygen-generated source code documentation)
Loading...
Searching...
No Matches
stylelint Documentation
Some Fossies usage hints in advance:
To see the Doxygen generated documentation please click on one of the items in the steelblue colored "quick index" bar above or use the side panel at the left which displays a hierarchical tree-like index structure and is adjustable in width.
If you want to search for something by keyword rather than browse for it you can use the client side search facility (using Javascript and DHTML) that provides live searching, i.e. the search results are presented and adapted as you type in the Search input field at the top right.
Doxygen doesn't incorporate all member files but just a definable subset (basically the main project source code files that are written in a supported language). So to search and browse all member files you may visit the Fossies
stylelint-15.3.0.tar.gz contents page
and use the Fossies standard member browsing features (also with source code highlighting and additionally with optional code folding).
README.md
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.