Skip to content

github/format-json

v1.1.3MIT

Format affected JSON files after successful agent edits.

Changelog

1.1.3

  • Remove the plugin's own LICENSE. The plugin is still MIT licensed, under the repository's root LICENSE.

1.1.2

  • Run the hook when its install path goes through a symlink, such as macOS temporary folders or a linked plugin directory.

1.1.1

  • Add a Host checks section to the README for the manual release checks.

1.1.0

  • Add --indent N (1 to 10) to set the indentation. Unsupported arguments are reported instead of ignored.
  • Diagnostics name the file and the line and column of a JSON error, never the file content, tool arguments, or hook input.
  • Document the hook event contract and where the hook runs.

1.0.2

  • Replace the starter-specific install values in the README with generic ones.

1.0.1

  • Add an Install section and the plugin's own MIT LICENSE.

1.0.0

  • Format JSON files named by successful shared-runtime edit tool calls.
  • Report changed files and diagnostics without changing tool permissions.