# Lint

> Run ESLint on the project. Use when the user asks to lint or check code style.

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

---


# Lint

Launch a **sub-agent** (Agent tool) to run linting. This keeps verbose lint output out of the main context.

## Sub-agent prompt

Use the Agent tool with a timeout of 180000ms:

**Command logic:**
- No arguments → `npm run lint`
- `--fix` or `fix` → `npm run lint:fix`

```
Run the command from the project root.
Wait for completion. Report ONLY:
- SUCCESS or FAILURE
- Number of errors and warnings
- If failed: the FIRST 3 errors with file:line
- Lint duration
Do NOT paste the full log.
```

