Skip to content

Commit

Permalink
Chore: fix incorrect comment (#491)
Browse files Browse the repository at this point in the history
  • Loading branch information
aladdin-add committed Apr 30, 2021
1 parent 34e1ab9 commit 864a73e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/espree.js
Expand Up @@ -66,7 +66,7 @@ export default () => Parser => {
// Initialize acorn parser.
super({

// TODO: use {...options} when spread is supported(Node.js >= 8.3.0).
// do not use spread, because we don't want to pass any unknown options to acorn
ecmaVersion: options.ecmaVersion,
sourceType: options.sourceType,
ranges: options.ranges,
Expand Down

0 comments on commit 864a73e

Please sign in to comment.