ESLint 9.0: A major update with new features, breaking changes, and deprecated elements
Apr 9, 2024 at 2:15 PM

ESLint 9.0: A major update with new features, breaking changes, and deprecated elements

ESLint, the widely-used tool for static analysis of JavaScript code, has recently unveiled its version 9.0. This significant release brings new features, resolves various bugs from the prior version, and introduces multiple breaking changes.

ESLint 9.0 discontinues support for all Node.js versions earlier than v18.18.0 and v19.x, coinciding with the LTS release of Node.js v20.x.

The update also transitions to Flat config as the default configuration format, officially deprecating eslintrc. This alteration impacts users, plugin developers, and integrators, necessitating numerous changes in ESLint. The release further includes a config inspector, accessible via the command line using the --inspect-config option.

Several formatters have been removed in ESLint 9.0, including checkstyle, compact, jslint-xml, junit, tap, unix, and visualstudio. Users currently employing these formatters will need to install standalone packages compatible with ESLint version 9.0.

The version also discontinues valid-jsdoc and require-jsdoc, proposing the use of the eslint-plugin-jsdoc as an alternative.

Moreover, ESLint 9.0 has replaced many of the deprecated methods from context with methods on SourceCode.

Additionally, the release includes a range of minor changes, enhancements, and bug fixes.

Apr 9, 2024 by Paul

Maoholguin
Maoholguin found this interesting
MORE ABOUT: #ESLint
ESLint iconESLint
  11
  • FreeOpen Source
  • ...

ESLint, an open-source JavaScript linting utility, was originally developed by Nicholas C. Zakas in June 2013. It utilizes static analysis for identifying problematic patterns or code that does not comply with specific style guidelines. Key features include linting and lint support. Noteworthy alternatives to ESLint include Prettier, JSHint, and ALE.

No comments so far, maybe you want to be first?
Gu