Skip to content

Commit

Permalink
Docs: update readme to mention ES2020 (#422)
Browse files Browse the repository at this point in the history
  • Loading branch information
kaicataldo authored Aug 18, 2019
1 parent b26b202 commit c0635ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ const ast = espree.parse(code, {
tokens: false,

// Set to 3, 5 (default), 6, 7, 8, 9, or 10 to specify the version of ECMAScript syntax you want to use.
// You can also set to 2015 (same as 6), 2016 (same as 7), 2017 (same as 8), 2018 (same as 9), or 2019 (same as 10) to use the year-based naming.
// You can also set to 2015 (same as 6), 2016 (same as 7), 2017 (same as 8), 2018 (same as 9), 2019 (same as 10), or 2020 (same as 11) to use the year-based naming.
ecmaVersion: 5,

// specify which type of script you're parsing ("script" or "module")
Expand Down

0 comments on commit c0635ba

Please sign in to comment.