
Highlights
ESLint v9.3.0 adds new options to some rules:
func-stylehas the new optionoverrides.namedExportsno-extra-boolean-casthas the new optionenforceForInnerExpressionssuperseding the deprecated but still recognizedenforceForLogicalOperandsoptionno-misleading-character-classhas the new new optionallowEscapeno-restricted-exportshas the new optionrestrictedNamedExportsPattern
The built-in rules line-comment-position and multiline-comment-style have been deprecated in favor of third-party replacements.
Features
b32153cfeat: addoverrides.namedExportstofunc-stylerule (#18444) (Percy Ma)b67eba4feat: addrestrictedNamedExportsPatterntono-restricted-exports(#18431) (Akul Srivastava)069aa68feat: add optionallowEscapetono-misleading-character-classrule (#18208) (Francesco Trotta)05ef92dfeat: deprecatemultiline-comment-style&line-comment-position(#18435) (唯然)db0b174feat: addenforceForInnerExpressionsoption tono-extra-boolean-cast(#18222) (Kirk Waiblinger)
Bug Fixes
8db0efffix: Improve config error messages (#18457) (Nicholas C. Zakas)5c28d9afix: don’t remove comments between key and value in object-shorthand (#18442) (Kuba Jastrzębski)39fb0eefix: object-shorthand loses type parameters when auto-fixing (#18438) (dalaoshu)37eba48fix: don’t crash whenfs.readFilereturns promise from another realm (#18416) (Milos Djermanovic)
Documentation
ceada8cdocs: explain how to use “tsc waiting” label (#18466) (Francesco Trotta)62e686cdocs: Add troubleshooting info for plugin compatibility (#18451) (Nicholas C. Zakas)e17e1c0docs: Update README (GitHub Actions Bot)2465a1edocs: Update README (GitHub Actions Bot)d23574cdocs: Clarify usage ofno-unreachablewith TypeScript (#18445) (benj-dobs)1db9baedocs: Fix typos (#18443) (Frieder Bluemle)7065196docs: Update README (GitHub Actions Bot)04e7c6edocs: update deprecation notice ofno-return-await(#18433) (Tanuj Kanti)e763512docs: Link global ignores section in config object property list (#18430) (MaoShizhong)ac7f718docs: reflect release of v9 in config migration guide (#18412) (Peter Briggs)0de0909docs: fix grammar in configuration file resolution (#18419) (Mike McCready)
Chores
58e2719chore: update dependencies for v9.3.0 release (#18469) (Francesco Trotta)b681ecbchore: package.json update for @eslint/js release (Jenkins)06f1d1cchore: update dependency @humanwhocodes/retry to ^0.3.0 (#18463) (renovate[bot])a63ed72refactor: Usenode:protocol for built-in Node.js modules (#18434) (Milos Djermanovic)040700achore: update dependency markdownlint-cli to ^0.40.0 (#18425) (renovate[bot])f47847cchore: update actions/stale action to v9 (#18426) (renovate[bot])c18ad25chore: update actions/upload-artifact action to v4 (#18427) (renovate[bot])27e3060chore: Disable documentation label (#18423) (Nicholas C. Zakas)
