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
{{ message }}
Repository navigation
Remove deleted files from records file when --stage-record-file flag is used #31
Currently, because we throw when a non-existant path is encountered, we are unable to remove deleted files from the records file.
This was introduced in #21, where we used to read deleted files directly from git prior to that change. Since requiring a file list, it no longer checks for deleted files.
lint-staged by default doesn't pass in deleted file paths. It'd be better UX to have the tool check all paths for existance and remove those that no longer exist.
Activity
fix: remove deleted files from records file (#31)
fix: remove deleted files from records file with `--stage-record-file` (
fix: remove deleted files from records file (#31)
frankieyan commentedon Jan 22, 2026
lint-staged by default doesn't pass in deleted file paths. It'd be better UX to have the tool check all paths for existance and remove those that no longer exist.
fix: auto-detect deleted files in --stage-record-file