Lint

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

maxgraph 7cf6ec6 618 B Updated

File contents

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 fixnpm 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.

maxgraph/maxgraph/tree/main/.claude/skills/lint commit 7cf6ec6f3b

Frequently asked questions

npx skillmds@latest add maxgraph/lint