diff options
| author | Craig Jennings <c@cjennings.net> | 2026-05-06 06:09:02 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-05-06 06:09:02 -0500 |
| commit | ce66de633129abc94df03ab5da91ba2ca2e93330 (patch) | |
| tree | 0bdfe9f5c91a591738f88a3ae2c928f6fe783565 /.claude/settings.json | |
| parent | 7f1717bc2e1a9b3ac9dc3926ffd46f37532ae2a9 (diff) | |
| download | rulesets-ce66de633129abc94df03ab5da91ba2ca2e93330.tar.gz rulesets-ce66de633129abc94df03ab5da91ba2ca2e93330.zip | |
feat(claude): add claude config and wire it into make install
I moved Claude Code's user-level config into this repo so it travels with rulesets across machines instead of being machine-specific. The three pieces are settings.json, .mcp.json, and commands/refactor.md.
I extended make install, uninstall, and list to handle the new .claude/ directory. The wildcard for CLAUDE_CONFIG matches both `*.json` and `.*.json` because make's glob skips dotfiles by default. Without the dot variant, .mcp.json wouldn't get picked up.
I also added settings.local.json to .gitignore. That file is per-machine by convention and shouldn't ever land in the shared repo.
Diffstat (limited to '.claude/settings.json')
| -rw-r--r-- | .claude/settings.json | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/.claude/settings.json b/.claude/settings.json new file mode 100644 index 0000000..18855e7 --- /dev/null +++ b/.claude/settings.json @@ -0,0 +1,43 @@ +{ + "attribution": { + "commit": "", + "pr": "" + }, + "permissions": { + "defaultMode": "bypassPermissions" + }, + "hooks": { + "PreCompact": [ + { + "hooks": [ + { + "type": "command", + "command": "~/.claude/hooks/precompact-priorities.sh" + } + ] + } + ], + "PreToolUse": [ + { + "matcher": "Bash", + "hooks": [ + { + "type": "command", + "command": "~/.claude/hooks/destructive-bash-confirm.py" + } + ] + } + ] + }, + "enabledPlugins": { + "pyright-lsp@claude-plugins-official": true, + "typescript-lsp@claude-plugins-official": true, + "gopls-lsp@claude-plugins-official": true + }, + "effortLevel": "high", + "promptSuggestionEnabled": false, + "skipDangerousModePermissionPrompt": true, + "editorMode": "emacs", + "prefersReducedMotion": true, + "agentPushNotifEnabled": true +} |
