We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f88b6b7 commit 142c6f2Copy full SHA for 142c6f2
1 file changed
lib/index.js
@@ -75,7 +75,8 @@ const lintStaged = async (
75
quiet = false,
76
relative = false,
77
shell = false,
78
- stash = true,
+ // Stashing should be disabled by default when the `diff` option is used
79
+ stash = diff === undefined,
80
verbose = false,
81
} = {},
82
logger = console
0 commit comments