Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor: add parser message template (#11192)
* refactor: add raiseWithData method * refactor: error message template * fix missing plugin error structure * fix flow errors * refactor: use error message template in eslint plugin * refacotr: use error message template in flow plugin * refactor: use error message template in typescript plugin * refactor: use error message template in jsx plugin * address review comments * Update packages/babel-parser/src/parser/location.js Co-Authored-By: Nicolò Ribaudo <nicolo.ribaudo@gmail.com> Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
- Loading branch information
1 parent
114f672
commit 21c9141
Showing
12 changed files
with
618 additions
and
564 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
Oops, something went wrong.