ESLint v5.13.0 released

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

Configuration of globals has been improved with three new options: “off”, “readable”, and “writeable”.

  • “off”: Completely disables a global variable that was previously defined.
  • “readable”: Equivalent to the old false value, “readable” global variables are in scope but cannot be written to.
  • “writeable”: Equivalent to the old true value, “writeable” global variables can be read from and written to.

Configurations using the old true/false values will continue to work, but we encourage you to use the newer, more explicit options.

Check out the documentation on specifying globals for more details!

Features

  • 0a3c3ff New: Allow globals to be disabled/configured with strings (fixes #9940) (#11338) (Teddy Katz)

Enhancements

Bug Fixes

Documentation

  • fa2f370 Docs: update rule configuration values in examples (#11323) (Kai Cataldo)
  • c464e27 Docs: Rename result -> foo (#11210) (Alexis Tyler)

Chores

  • 91c8884 Chore: use local function to append “s” instead of a package (#11293) (Timo Tijhof)
  • 9005e63 Chore: increase camelcase test coverage (#11299) (Redmond Tran)
  • dccee63 Chore: avoid hard-coding the list of core rules in eslint:recommended (#11336) (Teddy Katz)
  • c1fd6f5 Chore: remove undocumented Linter#rules property (refs #9161) (#11335) (Teddy Katz)
  • 36e3356 Chore: remove dead code for loading rules (#11334) (Teddy Katz)

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

ESLint v9.7.0 released
1 min read

ESLint v9.7.0 released

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

What's coming next for ESLint
5 min read

What's coming next for ESLint

The new configuration system is just the beginning of significant changes coming to ESLint.

ESLint v9.6.0 released
2 min read

ESLint v9.6.0 released

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