# Lint

> Run SwiftLint on the WooCommerce iOS project

- Skill: `woocommerce/lint` (Agent Skill)
- Install (CLI): `npx skillmds@latest add woocommerce/lint`
- Raw SKILL.md: https://api.skillmd.com/api/skills/woocommerce/lint/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: woocommerce (https://skillmd.com/u/woocommerce)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/woocommerce/lint

---


Run SwiftLint to check for style violations.

If $ARGUMENTS contains "fix" or "autocorrect":
```bash
bundle exec rake lint:autocorrect
```

Otherwise, run check only:
```bash
bundle exec rake lint
```

After running:
1. Report the number of warnings and errors
2. Group violations by rule name
3. For errors, show file paths and line numbers
4. Suggest manual fixes for issues that autocorrect cannot handle

