ESLint v7.30.0 released
by Milos Djermanovic - 2 July 2021We just pushed ESLint v7.30.0, which is a minor release upgrade of ESLint. This release adds some new features and fixes several bugs found in the previous release.
Highlights
You can now set "ecmaVersion"
to "latest"
under parserOptions
in your configuration file:
{
"parserOptions": {
"ecmaVersion": "latest"
}
}
"ecmaVersion": "latest"
always enables the latest supported ECMAScript version in ESLint's default parser.
Please note that this feature applies only if you are using the default parser. If you're using a custom parser, refer to the parser's documentation for the list of available options.
Enhancements
ed1da5d
Update: ecmaVersion allows "latest" (#14720) (薛定谔的猫)104c0b5
Update: improve use-isnan rule to detectNumber.NaN
(fixes #14715) (#14718) (Nitin Kumar)b08170b
Update: Implement FlatConfigArray (refs #13481) (#14321) (Nicholas C. Zakas)
Documentation
19a871a
Docs: Suggest linting plugins for ESLint plugin developers (#14754) (Bryan Mishkin)aa87329
Docs: fix broken links (#14756) (Sam Chen)278813a
Docs: fix and add more examples for new-cap rule (fixes #12874) (#14725) (Nitin Kumar)1b8997a
Docs: Fix getRulesMetaForResults link syntax (#14723) (Brandon Mills)aada733
Docs: fix two broken links (#14726) (Sam Chen)8972529
Docs: Update README team and sponsors (ESLint Jenkins)