A collection of articles and tutorials about stylelint.
- Lint your CSS with stylelint: Written by one of stylelint's co-creators, this is the definitive article on stylelint.
- Stylelint: The Style Sheet Linter We’ve Always Wanted: Why linting a stylesheet matters and how stylelint brings order to a stylesheet. (We now recommend using
gulp-stylelint
, rather than thegulp-postcss
andpostcss-reporter
combination outlined in the article. Also, both the “prevent qualified selectors” and “enforce shorthand values” plugins were rolled into the core rules asselector-no-qualifying-type
andshorthand-property-no-redundant-values
respectively) - Improving CSS quality at Facebook and beyond: Detailing Facebook's switch from a custom CSS linter to stylelint.
- How to lint your Sass/CSS properly with Stylelint: Introduction to linting CSS. (As above, we now recommend using
gulp-stylelint
, rather than thegulp-postcss
andpostcss-reporter
combination outlined in the article) - Improving the Quality of Your CSS with PostCSS: Introduction to various PostCSS linting tools. (As above, we recommend using
gulp-stylelint
.) - Floss your style sheets with Stylelint: The first article written about stylelint. (As before, we now recommend using
gulp-stylelint
) - How to lint SCSS with stylelint: A guide which covers how to lint SCSS with stylelint.
Please send us a Pull Request to add your own article to the list.