Sourced from lint-staged's releases.
v15.3.0
Minor Changes
#1495
e69da9e
Thanks@iiroj
! - Added more info to the debug logs so that "environment" info doesn't need to be added separately to GitHub issues.#1493
fa0fe98
Thanks@iiroj
! - Added more help messages around the automaticgit stash
that lint-staged creates as a backup (by default). The console output also displays the short git hash of the stash so that it's easier to recover lost files in case some fatal errors are encountered, or the process is killed before completing.For example:
% npx lint-staged ✔ Backed up original state in git stash (20addf8) ✔ Running tasks for staged files... ✔ Applying modifications from tasks... ✔ Cleaning up temporary files...
where the backup can be seen with
git show 20addf8
, orgit stash list
:% git stash list stash@{0}: lint-staged automatic backup (20addf8)
Sourced from lint-staged's changelog.
15.3.0
Minor Changes
#1495
e69da9e
Thanks@iiroj
! - Added more info to the debug logs so that "environment" info doesn't need to be added separately to GitHub issues.#1493
fa0fe98
Thanks@iiroj
! - Added more help messages around the automaticgit stash
that lint-staged creates as a backup (by default). The console output also displays the short git hash of the stash so that it's easier to recover lost files in case some fatal errors are encountered, or the process is killed before completing.For example:
% npx lint-staged ✔ Backed up original state in git stash (20addf8) ✔ Running tasks for staged files... ✔ Applying modifications from tasks... ✔ Cleaning up temporary files...
where the backup can be seen with
git show 20addf8
, orgit stash list
:% git stash list stash@{0}: lint-staged automatic backup (20addf8)
703002a
chore(changeset): release4cee7d8
build(dependencies): update dependenciesef9b02d
Merge pull request #1495
from lint-staged/debug-infoe69da9e
feat: add more info to debug logs, remove "environment"
requirement from issu...1b36f55
docs: combine changesets6c9ab40
Merge pull request #1493
from lint-staged/help-messages22fe89d
feat: add unique hash to backup stash messagec52cc92
docs: add a caution message about git stashfa0fe98
feat: update first task message based on backup status7bd0447
feat: display "git stash list" message when restoring original
state is skipped