stylelint

Installation
SKILL.md

Stylelint

Commands

Task Command
Lint styles (via lint task) pnpm lint
Lint only Stylelint pnpm lint:stylelint
Lint a specific file pnpm exec stylelint <path>
Lint with auto-fix pnpm exec stylelint --fix <path>

Default action: When asked to "lint styles" or "run Stylelint" without further qualification, prefer pnpm lint if it includes Stylelint, otherwise fall back to the dedicated Stylelint script.

Commands and glob patterns vary across projects. Always check package.json scripts before running — pnpm lint:stylelint is the norm in some repos, pnpm stylelint in others.

Before linting — explore the project first

Before running or modifying Stylelint, read the project's config file (typically .stylelintrc or .stylelintrc.json) to understand:

Related skills
Installs
10
First Seen
Apr 11, 2026