2 months ago
b2ec4f3A commit staging only src-tauri files matched by the oxfmt glob (e.g. a catalog snapshot bump: src-tauri/catalog/*.json) fails at pre-commit: src-tauri is entirely in .oxfmtrc.json ignorePatterns, so oxfmt receives only ignored files and exits 2 with 'Expected at least one target file'. Exclude src-tauri/ in lefthook to mirror the formatter's own ignore — those files must never be reformatted anyway (catalog snapshots are byte-exact by contract). Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
Parent7e36fec