ESLint v3.17.0 released

We just pushed ESLint v3.17.0, which is a minor release upgrade of ESLint. This release adds a new feature and fixes several bugs found in the previous release.

Highlights

Two new rules were added:

Two new methods were added to the SourceCode API for rules:

Two enhancements were made to the RuleTester utility:

  • Error message assertions can now be regular expressions.
  • output for a test case can be set to null to assert that the case is not autofixed.

Features

Enhancements

Bug Fixes

Documentation

  • a6ce8f9 Build: Sort rules before dumping them to doc files (#8154) (Danny Andrews)
  • cbd7ded Build: display rules’ meta data in their docs (fixes #5774) (#8127) (Wilson Kurniawan)

Chores

  • 0af9057 Chore: Upgrade to a patched version of mock-fs (fixes #8177) (#8188) (Teddy Katz)
  • a78ec9f Chore: upgrade coveralls to ^2.11.16 (#8161) (alberto)
  • 7f1f4e5 Chore: remove unneeded devDeps linefix and gh-got (#8160) (alberto)
  • 1c84922 Chore: upgrade eslint-plugin-node (#8156) (alberto)

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

ESLint v9.20.1 released
1 min read

ESLint v9.20.1 released

We just pushed ESLint v9.20.1, which is a patch release upgrade of ESLint. This release fixes several bugs found in the previous release.

ESLint v9.20.0 released
2 min read

ESLint v9.20.0 released

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

Differences between ESLint and TypeScript
7 min read

Differences between ESLint and TypeScript

Linters such as ESLint and type checkers such as TypeScript catch different areas of code defects and are best used in conjunction with each other.