Support for ESLint 8.0.0
See original GitHub issueSuggestion
ESLint 8.0.0 dropped and brings some breaking changes. https://eslint.org/docs/8.0.0/user-guide/migrating-to-8.0.0 Yesterday @typescript/eslint also published 5.0.0 to support new ESLint version. https://github.com/typescript-eslint/typescript-eslint/releases/tag/v5.0.0
From the errors thrown, I see at least this dependency should be updated to support new ESLint: “@typescript-eslint/experimental-utils”
Currently I am getting this error:
yarn lint
Oops! Something went wrong! :(
ESLint: 8.0.0
TypeError: Failed to load plugin 'functional' declared in 'package.json#overrides[1]': Class extends value undefined is not a constructor or null
Referenced from: [my]\package.json
at Object.<anonymous> ([my]\.yarn\__virtual__\@typescript-eslint-experimental-utils-virtual-7774eb0b8d\0\cache\@typescript-eslint-experimental-utils-npm-4.28.1-ab919abf02-34a0dd8230.zip\node_modules\@typescript-eslint\experimental-utils\dist\ts-eslint\CLIEngine.js:12:34)
at Module._compile ([my]\.yarn\cache\v8-compile-cache-npm-2.1.1-efff1ef0a4-692f6bc698.zip\node_modules\v8-compile-cache\v8-compile-cache.js:194:30)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.external_module_.Module._load [my]\.pnp.cjs:20312:14)
at Module.require (node:internal/modules/cjs/loader:1005:19)
at require ([my]\.yarn\cache\v8-compile-cache-npm-2.1.1-efff1ef0a4-692f6bc698.zip\node_modules\v8-compile-cache\v8-compile-cache.js:161:20)
at Object.<anonymous> ([my]\.yarn\__virtual__\@typescript-eslint-experimental-utils-virtual-7774eb0b8d\0\cache\@typescript-eslint-experimental-utils-npm-4.28.1-ab919abf02-34a0dd8230.zip\node_modules\@typescript-eslint\experimental-utils\dist\ts-eslint\index.js:14:14)
at Module._compile ([my]\.yarn\cache\v8-compile-cache-npm-2.1.1-efff1ef0a4-692f6bc698.zip\node_modules\v8-compile-cache\v8-compile-cache.js:194:30)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
Whether or not this implies the requirement of a new major release, I am not aware.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:5
- Comments:6
Top Results From Across the Web
Migrating to v8.0.0 - ESLint - Pluggable JavaScript Linter
ESLint is officially dropping support for these versions of Node.js starting with ESLint v8.0.0. ESLint now supports the following versions of Node.js:.
Read more >Support for ESLint v8 · Issue #3738 - GitHub
We supported the old babel-style AST for class properties ( ClassProperty ). ESLint has added support for properties using ESTree's official spec.
Read more >8.0.0-rc.0 - eslint - npm
An AST-based pattern checker for JavaScript.. Latest version: 8.29.0, last published: 11 days ago. Start using eslint in your project by ...
Read more >ESLint 8.0 support : WEB-52236 - JetBrains YouTrack
After upgrading to ESLint 8.0.0-beta.0, at the code inspection IDEA throws: TypeError: this.cliEngineCtor is not a constructor TypeError: this.
Read more >8.0.0 Failed to load plugin '@typescript-eslint' - Stack Overflow
Could you help me, I've got this error when I try building a project? Oops! Something went wrong! :( ESLint: 8.0.0.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’ve just released an RC version of the next version of this plugin which has support eslint 8 (this PR). Please feel free to test it out and if all is well, I’ll release it in the next day or so.
You can add it with
yarn add -D eslint-plugin-functional@rc
🎉 This issue has been resolved in version 4.0.0 🎉
The release is available on:
Your semantic-release bot 📦🚀