This repository has been archived by the owner on Jan 5, 2024. It is now read-only.
Dev: unstaged changes end up in commit in dist/ and lib/ #250
Labels
re: dev
Concerning developer experience
I noticed that if I create or amend a commit while I also have unstaged changes, these will end up against intention in the auto-generated
dist/
andlib/
parts of the commit.actions/setup/.lintstagedrc.js
Lines 1 to 9 in 1c618fb
Maybe a fix would be to auto-stash in the commit hook, so that the unstaged changes would not be considered when compiling the typescript. Presumably
git stash --keep-index
can do this (?): https://stackoverflow.com/questions/20028507/git-stash-uncached-how-to-put-away-all-unstaged-changesThe text was updated successfully, but these errors were encountered: