Highlights
ESLint v9.3.0 adds new options to some rules:
func-style
has the new optionoverrides.namedExports
no-extra-boolean-cast
has the new optionenforceForInnerExpressions
superseding the deprecated but still recognizedenforceForLogicalOperands
optionno-misleading-character-class
has the new new optionallowEscape
no-restricted-exports
has the new optionrestrictedNamedExportsPattern
The built-in rules line-comment-position
and multiline-comment-style
have been deprecated in favor of third-party replacements.
Features
b32153c
feat: addoverrides.namedExports
tofunc-style
rule (#18444) (Percy Ma)b67eba4
feat: addrestrictedNamedExportsPattern
tono-restricted-exports
(#18431) (Akul Srivastava)069aa68
feat: add optionallowEscape
tono-misleading-character-class
rule (#18208) (Francesco Trotta)05ef92d
feat: deprecatemultiline-comment-style
&line-comment-position
(#18435) (唯然)db0b174
feat: addenforceForInnerExpressions
option tono-extra-boolean-cast
(#18222) (Kirk Waiblinger)
Bug Fixes
8db0eff
fix: Improve config error messages (#18457) (Nicholas C. Zakas)5c28d9a
fix: don’t remove comments between key and value in object-shorthand (#18442) (Kuba Jastrzębski)39fb0ee
fix: object-shorthand loses type parameters when auto-fixing (#18438) (dalaoshu)37eba48
fix: don’t crash whenfs.readFile
returns promise from another realm (#18416) (Milos Djermanovic)
Documentation
ceada8c
docs: explain how to use “tsc waiting” label (#18466) (Francesco Trotta)62e686c
docs: Add troubleshooting info for plugin compatibility (#18451) (Nicholas C. Zakas)e17e1c0
docs: Update README (GitHub Actions Bot)2465a1e
docs: Update README (GitHub Actions Bot)d23574c
docs: Clarify usage ofno-unreachable
with TypeScript (#18445) (benj-dobs)1db9bae
docs: Fix typos (#18443) (Frieder Bluemle)7065196
docs: Update README (GitHub Actions Bot)04e7c6e
docs: update deprecation notice ofno-return-await
(#18433) (Tanuj Kanti)e763512
docs: Link global ignores section in config object property list (#18430) (MaoShizhong)ac7f718
docs: reflect release of v9 in config migration guide (#18412) (Peter Briggs)0de0909
docs: fix grammar in configuration file resolution (#18419) (Mike McCready)
Chores
58e2719
chore: update dependencies for v9.3.0 release (#18469) (Francesco Trotta)b681ecb
chore: package.json update for @eslint/js release (Jenkins)06f1d1c
chore: update dependency @humanwhocodes/retry to ^0.3.0 (#18463) (renovate[bot])a63ed72
refactor: Usenode:
protocol for built-in Node.js modules (#18434) (Milos Djermanovic)040700a
chore: update dependency markdownlint-cli to ^0.40.0 (#18425) (renovate[bot])f47847c
chore: update actions/stale action to v9 (#18426) (renovate[bot])c18ad25
chore: update actions/upload-artifact action to v4 (#18427) (renovate[bot])27e3060
chore: Disable documentation label (#18423) (Nicholas C. Zakas)