fix(pre-commit): autofix JSON formatting instead of failing

Add --autofix to pretty-format-json so the hook rewrites files in place
rather than requiring manual intervention. Also applies the resulting key
ordering fixes to settings.json files.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-06-28 15:37:51 +00:00
parent c97e4a5b69
commit c3f2a5f5ef
3 changed files with 9 additions and 8 deletions

View File

@@ -1,7 +1,7 @@
{
"theme": "dark",
"statusLine": {
"type": "command",
"command": "bash ~/.claude/statusline-command.sh"
}
"command": "bash ~/.claude/statusline-command.sh",
"type": "command"
},
"theme": "dark"
}