Highlights
This is a summary of the major changes you need to know about for this version of ESLint.
This version of ESLint is provided to gather feedback from the community before releasing the final version. Please try it and report any unexpected issues.
Installing
Since this is a pre-release version, you will not automatically be upgraded by npm. You must specify the next
tag when installing:
npm i eslint@next --save-dev
You can also specify the version directly:
npm i eslint@8.0.0-rc.0 --save-dev
Migration Guide
As there are a lot of changes, we’ve created a migration guide describing the changes in great detail along with the steps you should take to address them. We expect that most users should be able to upgrade without any build changes, but the migration guide should be a useful resource if you encounter problems.
Enhancements
67c0074
Update: Suggest missing rule in flat config (fixes #14027) (#15074) (Nicholas C. Zakas)cf34e5c
Update: space-before-blocks ignore after switch colons (fixes #15082) (#15093) (Milos Djermanovic)14a4739
Update:no-new-func
rule catching eval case ofMemberExpression
(#14860) (Mojtaba Samimi)0a1a850
Update: includeruleId
in error logs (fixes #15037) (#15053) (Ari Perkkiö)
Bug Fixes
c9efb5f
Fix: preserve formatting when rules are removed from disable directives (#15081) (Milos Djermanovic)
Documentation
7f2346b
Docs: Update release blog post template (#15094) (Nicholas C. Zakas)a744dfa
Docs: Update CLA info (#15058) (Brian Warner)
Chores
fabdf8a
Chore: Removetarget.all
fromMakefile.js
(#15088) (Hirotaka Tagawa / wafuwafu13)05d7140
Chore: document target global in Makefile.js (#15084) (Hirotaka Tagawa / wafuwafu13)47be800
Chore: test Property > .key with { a = 1 } pattern (fixes #14799) (#15072) (Milos Djermanovic)9fb0f70
Chore: fix bug report template (#15061) (Milos Djermanovic)f87e199
Chore: Cleanup issue templates (#15039) (Nicholas C. Zakas)