-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: It [should fix](typicode/husky#677 (comment)) the issue where `yarn add` or `yarn remove` break `lint-staged`, which was occurring because we have a monorepo. Note that there were a good amount of breaking changes in this migration so the config looks pretty different. Test Plan: `yarn cleaninstall`, then make a commit and make sure `lint-staged` still runs Reviewers: palys-swm, atul Reviewed By: palys-swm, atul Subscribers: KatPo, Adrian Differential Revision: https://phabricator.ashoat.com/D1600
- Loading branch information
Showing
3 changed files
with
13 additions
and
36 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/bin/sh | ||
. "$(dirname "$0")/_/husky.sh" | ||
|
||
yarn lint-staged |
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