If "Environment key 'es2021' is unknown" Occurs in Nuxt+Typescript
2021-03-07 02:45 (5 years ago)

When developing with Nuxt + TypeScript and updating dependencies,
Error: .eslintrc.js » @nuxtjs/eslint-config-typescript » @nuxtjs/eslint-config » eslint-config-standard:
Environment key "es2021" is unknown
appears,
update eslint to version 7 or above.
package.json
"devDependencies": {
...
"eslint": "^7.19.0",
npm install --also=dev
Related posts
A TypeScript Decorator to Show a Toast When $axios.$get Fails in an Async Method with Nuxt
Trying to Install npm install fibers (node-fibers) Results in ValueError: invalid mode: 'rU' While Trying to Load binding.gyp
When Using Nuxt Axios Proxy Mode, Axios Config's httpsAgent Injection Cannot Handle Self-Signed Certificates on the Proxy Server
How to Set Up API Proxy to Other Services in Nuxt3
Please rate this article (No signup or login required)
Currently unrated
The author runs the application development company Cyberneura.
We look forward to discussing your development needs.
We look forward to discussing your development needs.