mirror of
https://github.com/Homebrew/brew.git
synced 2026-08-12 22:29:27 +04:00
- replace the per-edit `style --changed --fix` and `typecheck` `PostToolUse` hooks and the `tests --changed` `Stop` hook with a single `./bin/brew lgtm` on `Stop` in `.claude/settings.json` - add a matching Codex `Stop` hook in `.codex/hooks.json`, unignoring `.codex` like `.claude`, so both agents run the same check - `brew lgtm` runs typecheck, style and the relevant tests together
16 lines
210 B
JSON
16 lines
210 B
JSON
{
|
|
"hooks": {
|
|
"Stop": [
|
|
{
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "./bin/brew lgtm",
|
|
"timeout": 360
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|