Comfy-Org / Comfy-Org/ComfyUI_frontend

[DevTask]: Replace lint/typecheck/format in Claude.md with Claude hooks

Open
#4,323 3 comments 0 reactions 0 assignees View on GitHub
area:CI/CD developer experience
Dominant language
TypeScript
Stars
2k
Forks
699
Avg merge
1d 7h
Merged PRs (30d)
490

Description

This issue proposes a move away from prodding Claude with Claude.md to run commands, and instead simply running them with a hook.

Our Claude.md currently states:

```md
...(3) run typecheck, lint, format (with prettier)...
```

Instead of guiding Claude to do these tasks, we can instead add a Claude Code hook to run on stop that will execute our linting commands.

https://docs.anthropic.com/en/docs/claude-code/hooks#stop

This can be stored in the project's `.claude/settings.json`.

┆Issue is synchronized with this [Notion page](https://www.notion.so/Issue-4323-DevTask-Replace-lint-typecheck-format-in-Claude-md-with-Claude-hooks-2236d73d365081e98113da45a52750ce) by [Unito](https://www.unito.io)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.