-
In "env": {
"es2021": true
},
"parserOptions": {
"ecmaVersion": 13
} Isn't a redundancy? What's the reason to keep both properties? |
Beta Was this translation helpful? Give feedback.
Answered by
nzakas
Oct 15, 2021
Replies: 1 comment 2 replies
-
parserOptions indicates the syntax you want to allow. The es2022 environment indicates that you want to add the ES2022 global variables. |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
pubmikeb
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
parserOptions indicates the syntax you want to allow. The es2022 environment indicates that you want to add the ES2022 global variables.