You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Added
Fallow codebase intelligence: .fallowrc.json, baseline file, and audit:code script; CI runs fallow-rs/fallow@v2 on every push with severity-aware new-only gating
Changed
Refactor commands.ts: extract src/constants.ts for image extensions / format options / target-size presets; route both commands through a shared validateImageAndGetPath + processImageResize flow (~110 lines deleted)
Refactor utils.ts: extract buildArgs as the single source of truth for the imgbytesizer arg list; split runImgbytesizer into ensureOutputDir + interpretResult helpers (69 LOC / 15 cyclomatic → 24 / 6)
Refactor commands.ts: extract promptOutputPath, promptMinDimension, promptExactSize helpers from getUserOptions (49 LOC / 11 cyclomatic → 27 / 8)
Migrate linter and formatter from ESLint + Prettier to oxc (oxlint + oxfmt)