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