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 <[email protected]>
This commit is contained in:
1 parent
c97e4a5b69
commit
c3f2a5f5ef
3 files changed
+9
-8
No files matched your search
@@ -1,9 +1,9 @@
|
||||
{
|
||||
"enabledPlugins": {
|
||||
"bin@holocron": true,
|
||||
"kyberforge@holocron": true
|
||||
},
|
||||
"hooks": {
|
||||
"PreToolUse": []
|
||||
},
|
||||
"enabledPlugins": {
|
||||
"kyberforge@holocron": true,
|
||||
"bin@holocron": true
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user