PostToolUsematcher: Write|Edit|MultiEditdemo
Lint on Edit
Run ESLint --fix after every edit.
Keeps the working tree lint-clean by running ESLint with --fix after each Write/Edit.
Install via CLI
npx hookyard install lint-on-edit
Or paste into ~/.claude/settings.json
{
"hooks": {
"PostToolUse": [
{
"matcher": "Write|Edit|MultiEdit",
"hooks": [
{
"type": "command",
"command": "npx eslint --fix . || true"
}
]
}
]
}
}#quality#lint
By developersdigest