Published under: Release Notes
1 min read
Highlights
- ESLint’s predefined
recommended
andall
configs are now exported from a new@eslint/js
package. Those using"eslint:recommended"
or"eslint:all"
as strings in the new flat config format should instead install and import@eslint/js
and reference predefined configs asjs.configs.recommended
orjs.configs.all
. - The
no-constant-binary-expression
rule now catches more cases involving the nullish coalescing operator,??
. - A new version of the
esquery
selector engine includes performance improvements covered in a blog post by Marvin Hagemeister.
Features
8e34a04
feat: addafterHashbangComment
option tolines-around-comment
rule (#16920) (SUZUKI Sosuke)c8c0c71
feat: Move all and recommended configs into package. (#16844) (Nicholas C. Zakas)71f6f0d
feat: report more cases with??
in no-constant-binary-expression (#16826) (Daiki Nishikawa)
Bug Fixes
Documentation
f9f195e
docs: Plugin docs cleanup & expansion (#16862) (Ben Perlmutter)df809fd
docs: Custom Formatters page cleanup/expansion (#16886) (Ben Perlmutter)0700d1b
docs: Add PostCSS/Autoprefixer/CSSNano (#16502) (Nick Schonning)7b9e9bf
docs: support unicode anchors (#16782) (Percy Ma)5fbc0bf
docs: Update README (GitHub Actions Bot)67865a0
docs: Remove mention of mailing list (#16869) (Amaresh S M)43af24a
docs: Add explanation of when to use ‘warn’ severity (#16882) (Nicholas C. Zakas)ed2999b
docs: Shareable configs page edits and expansion (#16824) (Ben Perlmutter)2780635
docs: fix typos (#16884) (Lioness100)5bdaae2
docs: Ways to Extend ESLint page (#16861) (Ben Perlmutter)
Chores
cdcbe12
chore: upgrade @eslint/js@8.35.0 (#16935) (Brandon Mills)c954c34
chore: package.json update for @eslint/js release (ESLint Jenkins)5a517da
chore: package.json update for @eslint/js release (ESLint Jenkins)9f10926
chore: upgrade @eslint/eslintrc@2.0.0 (#16928) (Milos Djermanovic)da728fa
ci: use LTS node version in workflows (#16907) (Nitin Kumar)c57b4f3
perf: upgrade to esquery@1.4.2 (#16901) (Milos Djermanovic)9122f07
chore: Update stale bot settings (#16870) (Nicholas C. Zakas)