Bug: (fill in) #15470
Labels
archived due to age
This issue has been archived; please open a new issue for any further discussion
bug
ESLint is working incorrectly
repro:needed
Projects
Environment
Node version: v14.17.4
npm version: 6.14.14
Local ESLint version: 7.32.0
Global ESLint version: n/a
Operating System: macOS 11.6 (20G165)
What parser are you using?
Default (Espree)
What did you do?
I created a new project and installed eslint using these options:
which resulted in this config file:
Notice that it has
es2021: true
butecmaVersion: 13
which doesn't seem right.What did you expect to happen?
I expect eslint to work
What actually happened?
I am getting the following error:
Participation
Additional comments
If I change the
ecmaVersion
from 13 to 12 it works. This makes sense since ecmascript 2021 is actually version 12.Is this a config creation bug?
The text was updated successfully, but these errors were encountered: