Commit dac20a4
authored
Fix es2020 globals not being recognized
Fixes standard/standard#1436
The ecmaVersion in parserOptions is only for setting syntax support.
From the docs: https://eslint.org/docs/user-guide/configuring
> supporting ES6 syntax is not the same as supporting new ES6 globals
Setting the es2020 env will actually set the globals:
> adds all ECMAScript 2020 globals and automatically sets the ecmaVersion parser option to 11.1 parent eb187de commit dac20a4
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
0 commit comments