Highlights
Faster config merging
This release includes an updated version of @eslint/config-array with a faster config object merging implementation. This is the step in which ESLint calculates the final configuration for a file based on all config objects that match the file. In benchmarks with a moderate to large number of matching config objects, this step is now about two times faster.
Config merging is only one part of an ESLint run, so the effect on total lint time depends on your project. No changes are required on your end.
Suggestions
- The
no-new-native-nonconstructorrule now provides suggestions to convert invalid constructor calls to valid function calls. - The
no-eq-nullrule now provides suggestions to convert comparisons using==or!=into comparisons using===or!==, with or withoutundefinedincluded. - The
eqeqeqrule now provides additional suggestions that include comparisons withundefined.
Other rule improvements
The following core rules have been updated to address edge cases:
Features
7fff57afeat: add suggestions tono-new-native-nonconstructor(#21576) (Pixel)14e3533feat: suggest comparing with bothnullandundefinedineqeqeq(#21577) (Pixel)0e2a431feat: handleTSImportEqualsDeclarationtype imports inno-shadow(#21564) (Lê Văn Xuân Hoà n)a6b2c6dfeat: add suggestions tono-eq-null(#21512) (Pixel)
Bug Fixes
0b43c2dfix: update dependency @eslint/config-array to ^0.23.7 (#21598) (renovate[bot])f692882fix: handle trailing commas in no-unused-vars suggestions (#21570) (Lê Văn Xuân Hoà n)622db83fix: addESLint.CalculatedConfigtype forcalculateConfigForFile()(#21483) (Pixel)0d401e5fix: handle heritage and qualified types inno-use-before-define(#21536) (Lê Văn Xuân Hoà n)b377b08fix: handle circular references when formatting config errors (#21569) (Lê Văn Xuân Hoà n)4820790fix: handle TS assertions on callees inno-invalid-this(#21540) (Nitin Kumar)9fe69d8fix: skip type parameters ingetOpeningParenOfParams(#21531) (Lê Văn Xuân Hoà n)
Documentation
1429546docs: fix typo in Node.js API documentation (#21594) (Pixel)85d4d49docs: Update README (GitHub Actions Bot)6942d2fdocs: Add Project Leads description (#21559) (Nicholas C. Zakas)4c76138docs: Update README (GitHub Actions Bot)
Chores
42c9929chore: update github/codeql-action action to v4.39.4 (#21597) (renovate[bot])079529ctest: coverSourceCode#getLoc()andgetRange()(#21595) (electrohyun)65e8b2fchore: remove obsolete markdownlint directives (#21588) (lumir)9292b2fchore: use spaces for YAML indentation in .editorconfig (#21591) (electrohyun)5716b3fchore: update ecosystem plugins (#21579) (ESLint Bot)1501e8aci: add@eslint/shellin ecosystem tests and types integration (#21516) (lumir)e0148e3chore: update dependency prettier to v3.10.1 (#21571) (renovate[bot])2102699chore: update dependency prettier to v3.10.0 (#21567) (renovate[bot])494f4e8chore: update ecosystem plugins (#21566) (ESLint Bot)97efaddci: bump peter-evans/create-pull-request from 8.1.1 to 8.1.3 (#21551) (dependabot[bot])

