
Highlights
This version of ESLint is not ready for production use and is provided to gather feedback from the community before releasing the final version. Please let us know if you have any problems or feedback by creating issues on our GitHub repo.
Note that this prerelease version of ESLint has a separate documentation section.
Espree and ESLint Scope now include types
Beginning with Espree v11.1.0 and ESLint Scope v9.1.0, these packages now contain built-in type definitions.
Previously, type definitions were provided by Definitely Typed packages @types/espree and @types/eslint-scope. There are several differences between the old and new type definitions, mostly bug fixes. If your code relies on types for the Espree and ESLint Scope packages, check if there are any updates needed.
Installing
Since this is a pre-release version, you will not automatically be upgraded by npm. You must specify the next tag when installing:
npm i eslint@next --save-dev
You can also specify the version directly:
npm i eslint@10.0.0-rc.1 --save-dev
Migration Guide
As there are a lot of changes, we’ve created a migration guide describing the breaking changes in great detail along with the steps you should take to address them. We expect that most users should be able to upgrade without any build changes, but the migration guide should be a useful resource if you encounter problems.
Features
43677defeat: fix handling of function and class expression names inno-shadow(#20432) (Milos Djermanovic)
Bug Fixes
b34b938fix: useError.prepareStackTraceto estimate failing test location (#20436) (Francesco Trotta)51aab53fix: update eslint (#20443) (renovate[bot])23490b2fix: handle space before colon inRuleTesterlocation estimation (#20433) (Francesco Trotta)f244dbffix: useMessagePlaceholderDatatype from@eslint/core(#20348) (루밀LuMir)
Documentation
3e5d38cdocs: add missing indentation space in rule example (#20446) (fnx)63a0c7cdocs: Update README (GitHub Actions Bot)

