-
-
Notifications
You must be signed in to change notification settings - Fork 195
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
* Breaking: validate parser options (fixes #384) it will throw an error if any of the conditions is true: + ecmaVersion is invalid + sourceType is invalid + ecmaVersion < 6 & sourceType: "module" * fix failing tests * Update lib/espree.js Co-Authored-By: aladdin-add <weiran.zsd@outlook.com> * Update tests/lib/ecma-version.js Co-Authored-By: aladdin-add <weiran.zsd@outlook.com> * chore: update test * Chore: move some assginment to func normalizeOptions * Update lib/espree.js Co-Authored-By: aladdin-add <weiran.zsd@outlook.com> * Update lib/espree.js Co-Authored-By: aladdin-add <weiran.zsd@outlook.com> * Update ecma-version.js
- Loading branch information
1 parent
a7895ea
commit 493d464
Showing
3 changed files
with
72 additions
and
15 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