New Oct 4, 2024

ESLint v9.12.0 released

Libraries, Frameworks, etc. All from ESLint Blog View ESLint v9.12.0 released on eslint.org

Highlights

Experimental configuration file resolution

One of the big changes in ESLint v9.0.0 was the new config system which switched from looking for config files relative to the file being linted to starting the search from the current working directory. While this dramatically decreased the complexity of config file lookup, it also had an unintended side effect: monorepos could no longer include a separate eslint.config.js file in each project directory and then run ESLint with one command from the root. To address this, we’re working on a new configuration file resolution algorithm that more closely mirrors how the eslintrc config system worked.

This new algorithm also starts the search from the file being linted, restoring the monorepo use case and also making it possible to run ESLint from anywhere on any file and get the same results each time. Because this feature is experimental, you’ll need to use the unstable_config_lookup_from_file feature flag, like this:

npx eslint --flag unstable_config_lookup_from_file

For more information on this feature, see Experimental Configuration File Resolution. For more information on using feature flags, see Feature Flags.

Other notable changes

Features

Bug Fixes

Documentation

Chores

Scroll to top