-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[flow-dev-tools] Do not remove suppressions that include "eslint-disa…
…ble" Summary: While not common it is possible that a single comment is used to suppress both a Flow error and an eslint issue. E.g. ``` // $FlowFixMe eslint-disable-next-line no-fallthrough ``` This diff prevents `flow update-suppressions` from removing a Flow suppression comment if in included in the text associated with it is the string `eslint-disable`. Changelog: [internal] Reviewed By: SamChou19815 Differential Revision: D55656739 fbshipit-source-id: 9768276f4df1895377347883dfef9a976f172815
- Loading branch information
1 parent
fd06398
commit 2856f03
Showing
3 changed files
with
63 additions
and
0 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