-
-
Notifications
You must be signed in to change notification settings - Fork 421
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: allow re-enabling
--stash
when using the --diff
option
By default creating a backup stash is disabled when using `--diff`, because the typical use-case is to run _lint-staged_ in a CI environment with a clean working tree. It's now possible to re-enable this behavior by using the `--stash` option.
- Loading branch information
1 parent
421234c
commit 99390c3
Showing
2 changed files
with
7 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters