-
-
Save sergii/3b0a7d3e9bbbc05d937214a25209d882 to your computer and use it in GitHub Desktop.
Run Rubocop with autocorrect everytime Claude Code does an update or write, and play a sound so you know it did it
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "$schema": "https://json.schemastore.org/claude-code-settings.json", | |
| "model": "opus", | |
| "hooks": { | |
| "PostToolUse": [ | |
| { | |
| "matcher": "Update|Write", | |
| "hooks": [ | |
| { | |
| "type": "command", | |
| "command": "rubocop -A && afplay /System/Library/Sounds/Purr.aiff" | |
| } | |
| ] | |
| } | |
| ] | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment