-
-
Notifications
You must be signed in to change notification settings - Fork 417
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* fix: add check for changed lint-staged files before stashing changes - add test to check if stashing is skipped if no lint-staged files are changed Fixes #570 * fix: simplify implementation, add comment as requested and remove "only" from "it.only" Fixes #570 * fix: update test snapshot for "runAll should resolve the promise with no files" as stashing/linters are no longer executed if no staged files match the linters configuration * fix: replace Array.forEach with Array.every, add message if lint-staged is skipped and update snapshots Fixes #570 * fix: remove "No linters executed" and "in lint-staged.linters" copy
- Loading branch information
1 parent
d5e738d
commit 8c4d9c9
Showing
3 changed files
with
107 additions
and
50 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
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