ESLint v7.30.0 released

by Milos Djermanovic - 2 July 2021

We 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

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)

Chores

  • 5f74642 Chore: don't check Program.start in SourceCode#getComments (refs #14744) (#14748) (Milos Djermanovic)
  • f113cdd Chore: upgrade eslint-plugin-eslint-plugin (#14738) (薛定谔的猫)