-
Notifications
You must be signed in to change notification settings - Fork 508
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
license: add FB License header to all extractErrors code
- this plugin is largely borrowed from the React monorepo, consistently add FB's License headers to each file, not just to extractErrors.ts - also add comments pointing to the exact file and commit that each file was copied from - most of these are slightly out of date now: - evalToString is missing a line - extractErrors needs to be updated to Babel 7 - babylon -> @babel/parser, babel-traverse -> @babel/traverse - transformErrorMessages has several new constructs added :/... - keeping a pseudo-fork up-to-date is pretty tedious and not very maintainble (it's also broken per the tests I've added) - would be better if we could ask FB to split out theirs as a separate package...
- Loading branch information
Showing
4 changed files
with
26 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
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