Stylelint

Use this skill when the user wants to lint CSS, SCSS, or Less stylesheets for errors, best practices, and consistent formatting.

javimosch 5be8618 672 B Updated

File contents

stylelint Plugin

stylelint checks stylesheets for errors and consistent formatting.

Usage Examples

  • "lint styles.css for errors"
  • "check all SCSS files for best practices"
  • "auto-fix style violations"
  • "lint with custom stylelint config"

Installation

npm install -g stylelint

Key Features

  • CSS, SCSS, Less, SugarSS support
  • 170+ built-in rules
  • Auto-fix support
  • Custom plugin ecosystem
  • JSON output for CI
  • Consistent formatting enforcement
  • Custom syntax support

javimosch/supercli/tree/main/plugins/stylelint/skills/quickstart commit 5be861825e

Frequently asked questions

npx skillmds@latest add javimosch/stylelint