ESLint v8.9.0 released

We just pushed ESLint v8.9.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

  • New es2022 environment has been added. When enabled, it adds all ECMAScript 2022 globals (which are currently the same as ECMAScript 2021 globals) and automatically sets the ecmaVersion parser option to 13. Previously, we used to add new ES environments only if they contain new globals compared to previous years. New es2016, es2018, and es2019 environments have also been added to fill in the gaps between years.
  • eslint-scope has been updated to ignore "use strict" directives in ES3 code.
  • eslint-visitor-keys package now contains built-in TypeScript declarations.

Features

  • 68f64a9 feat: update eslint-scope to ignore "use strict" directives in ES3 (#15595) (Milos Djermanovic)
  • db57639 feat: add es2016, es2018, es2019, and es2022 environments (#15587) (Milos Djermanovic)
  • 2dc38aa feat: fix bug with arrow function return types in function-paren-newline (#15541) (Milos Djermanovic)
  • 6f940c3 feat: Implement FlatRuleTester (#15519) (Nicholas C. Zakas)

Documentation

Chores

  • 586d45c chore: Upgrade to espree@9.3.1 (#15600) (Milos Djermanovic)
  • 623e1e2 chore: Upgrade to eslint-visitor-keys@3.3.0 (#15599) (Milos Djermanovic)
  • 355b23d chore: fix outdated link to Code of Conduct in PR template (#15578) (Rich Trott)
  • b10fef2 ci: use Node 16 for browser test (#15569) (Milos Djermanovic)
  • 92f89fb chore: suggest demo link in bug report template (#15557) (Brandon Mills)

The latest ESLint news, case studies, tutorials, and resources.

ESLint v8.30.0 released
1 min read

ESLint v8.30.0 released

We just pushed ESLint v8.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.

ESLint v8.29.0 released
1 min read

ESLint v8.29.0 released

We just pushed ESLint v8.29.0, which is a minor release upgrade of ESLint. This release adds some new features and fixes several bugs found in the previous release.

ESLint v8.28.0 released
1 min read

ESLint v8.28.0 released

We just pushed ESLint v8.28.0, which is a minor release upgrade of ESLint. This release adds some new features and fixes several bugs found in the previous release.