Skip to content

Commit 019b70a

Browse files
Hirsekaicataldo
authored andcommitted
Fix: Remove blockBindings from docs (fixes #307, fixes #339) (#356)
* Fix: Remove blockBindings from docs (fixes #307, fixes #339) * Fix: Replace blockBindings in docs (fixes #307, fixes #339)
1 parent b2016cb commit 019b70a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ Espree is licensed under a permissive BSD 2-clause license.
9393

9494
* The `tokenize()` method does not use `ecmaFeatures`. Any string will be tokenized completely based on ECMAScript 6 semantics.
9595
* Trailing whitespace no longer is counted as part of a node.
96-
* `let` and `const` declarations are no longer parsed by default. You must opt-in using `ecmaFeatures.blockBindings`.
96+
* `let` and `const` declarations are no longer parsed by default. You must opt-in by using an `ecmaVersion` newer than `5` or setting `sourceType` to `module`.
9797
* The `esparse` and `esvalidate` binary scripts have been removed.
9898
* There is no `tolerant` option. We will investigate adding this back in the future.
9999

0 commit comments

Comments
 (0)