Published under: Release Notes
2 min read
Highlights
- The predefined array of config objects used by ESLint can be now accessed programmatically as
ESLint.defaultConfig
. - To speed up loading, the ESLint CLI will automatically enable V8’s code cache in newer versions of Node.js.
- Custom languages can now provide their default options with the
defaultLanguageOptions
property. See the documentation about theLanguage
object.
Features
381c32b
feat: Allow languages to providedefaultLanguageOptions
(#19003) (Milos Djermanovic)bf723bd
feat: Improve eslintrc warning message (#19023) (Milos Djermanovic)1def4cd
feat: drop support for jiti v1.21 (#18996) (Francesco Trotta)f879be2
feat: exportESLint.defaultConfig
(#18983) (Nitin Kumar)
Bug Fixes
78836d4
fix: update thecomplexity
rule type (#19027) (Nitin Kumar)064c8b6
fix: update rule types (#18925) (Nitin Kumar)
Documentation
abdbfa8
docs: markLintMessage#nodeType
as deprecated (#19019) (Nitin Kumar)19e68d3
docs: update deprecated rules type definitions (#19018) (Nitin Kumar)7dd402d
docs: Update examples of passing multiple values to a CLI option (#19006) (Milos Djermanovic)5dcbc51
docs: Add example with side-effect imports to no-restricted-imports (#18997) (Milos Djermanovic)1ee87ca
docs: Update README (GitHub Actions Bot)2c3dbdc
docs: Use prerendered sponsors for README (#18988) (Milos Djermanovic)
Chores
68d2d9d
chore: upgrade to@eslint/js@9.13.0
and@eslint/core@^0.7.0
(#19034) (Francesco Trotta)2211f0a
chore: package.json update for @eslint/js release (Jenkins)c7abaef
perf: using Node.js compile cache (#19012) (唯然)1d7c077
chore: add pkg.type “commonjs” (#19011) (唯然)468e3bd
test: fixESLint
tests (#19021) (Francesco Trotta)ed4635f
ci: upgrade knip@5.32.0 (#18992) (Milos Djermanovic)efad767
chore: remove unused ignore dependency (#18993) (Amaresh S M)