Skip to content

hk util fix-smart-quotes ​

  • Usage: hk util fix-smart-quotes [--check] [-d --diff] <FILES>…
  • Effect: modifies state

Replace smart quotes with plain ASCII quotes

Arguments ​

  • <FILES>… — Files to check/fix

Flags ​

  • --check — Check for smart quotes without fixing them
  • -d --diff — Output a diff of the change (implies --check)
  • -h --help — Print help

Examples ​

This utility fixes by default; use --check to inspect without editing.

sh
hk util fix-smart-quotes --check README.md
hk util fix-smart-quotes README.md

Learn more ​

Built-in linters and utilities · Troubleshooting · All commands

MIT LicenseCopyright © 2026jdx.dev