Skip to content

format-on-save.mjs

  • Event: PostToolUse
  • Type: notice: informs or reminds, does not block

Formats the saved file with the stack’s tool (Pint/Prettier/ruff) if it exists. Never blocks.

See the code of format-on-save.mjs on GitHub