Is the config file .eslintrc deprecated in favor of .eslintrc.* files?

Yes, but it's still supported.

What format should we use instead?

.eslintrc.json is the most similar to what you're used to, it's the same format but with an explicit JSON extension. If you'd like to avoid extra files, you can alternatively add your config to the eslintConfig field of package.json. If you need dynamic code, use .eslintrc.js or .eslintrc.cjs.

Configuration Guide

Answer from Nicky McCurdy on Stack Overflow
🌐
npm
npmjs.com › package › @eslint › eslintrc
eslint/eslintrc
This repository contains the legacy ESLintRC configuration file format for ESLint. This package is not intended for use outside of the ESLint ecosystem.
      » npm install @eslint/eslintrc
    
Published   Mar 06, 2026
Version   3.3.5
Author   Nicholas C. Zakas
🌐
ESLint
eslint.org › docs › latest › use › configure › migration-guide
Configuration Migration Guide - ESLint - Pluggable JavaScript Linter
If you are using .eslintrc.js, the migration results in a config file that matches the evaluated output of your configuration and won’t include any functions, conditionals, or anything other than the raw data represented in your configuration. The flat config file format has been the default configuration file format since ESLint ...
🌐
GitHub
github.com › eslint › eslintrc › releases
Releases · eslint/eslintrc
The legacy ESLintRC config file format for ESLint. Contribute to eslint/eslintrc development by creating an account on GitHub.
Author   eslint
🌐
GitHub
github.com › eslint › eslintrc
GitHub - eslint/eslintrc: The legacy ESLintRC config file format for ESLint · GitHub
This repository contains the legacy ESLintRC configuration file format for ESLint. This package is not intended for use outside of the ESLint ecosystem.
Starred by 167 users
Forked by 52 users
Languages   JavaScript 99.7% | TypeScript 0.3%
🌐
Duncanleung
duncanleung.com › how to setup eslint .eslintrc config
How to Setup ESLint .eslintrc Config – Duncan Leung
Many recommended base configurations shared from eslint-config-* already set the parser, plugins, and env properties. There is no need to re-declare these properties in your own .eslintrc if you're extending off a recommended base configuration that already has these declared.
🌐
ESLint
eslint.org › docs › latest › use › configure
Configure ESLint - ESLint - Pluggable JavaScript Linter
A pluggable and configurable linter tool for identifying and reporting on patterns in JavaScript. Maintain your code quality with ease.
🌐
GitHub
github.com › eslint › eslint › discussions › 18543
Convert .eslintrc.json to eslint.config.js · eslint/eslint · Discussion #18543
Just updated from 8 to 9 and fail on the config file. Why not just auto-convert it? Is there a converter? I know the https://eslint.org/docs/latest/use/configure/migration-guide but auto convert would be better. I wish to lint --fix .eslintrc.json to eslint.config.js ·
Author   eslint
Find elsewhere
🌐
ESLint
eslint.org › blog › 2026 › 02 › eslint-v10.0.0-released
ESLint v10.0.0 released - ESLint - Pluggable JavaScript Linter
In ESLint v9.x, this config lookup behavior could be enabled with the v10_config_lookup_from_file feature flag. In ESLint v10.0.0, this behavior is now the default and the v10_config_lookup_from_file flag has been removed. As announced in Flat config rollout plans, the eslintrc config system has been completely removed in ESLint v10.0.0.
🌐
ESLint
eslint.org › blog › 2024 › 05 › eslint-configuration-migrator
Introducing the ESLint Configuration Migrator - ESLint - Pluggable JavaScript Linter
You can use the configuration migrator directly from npm without installing it via npx or similar commands. Pass the location of the .eslintrc.* file to convert, like this: npx @eslint/migrate-config .eslintrc.json # or yarn dlx @eslint/migrate-config .eslintrc.json # or pnpm dlx @eslint/migrate-config .eslintrc.json # or bunx @eslint/migrate-config .eslintrc.json
🌐
Medium
medium.com › @ritz.sh › understanding-eslint-configuration-eslintrc-js-vs-eslintrc-vs-eslintrc-json-287ec5e95bf4
Understanding ESLint Configuration: .eslintrc.js vs .eslintrc vs .eslintrc.json | by Rizul sharma | Medium
March 7, 2024 - Community Standards: While .eslintrc.js is favored for intricate setups, .eslintrc and .eslintrc.json is preferred for simpler configurations, aligning with community standards. The choice of ESLint configuration format hinges on project complexity and team preferences.
🌐
ESLint
eslint.org › docs › latest › use › configure › configuration-files
Configuration Files - ESLint - Pluggable JavaScript Linter
A pluggable and configurable linter tool for identifying and reporting on patterns in JavaScript. Maintain your code quality with ease.
🌐
npm
npmjs.com › package › @eslint › eslintrc › v › 2.1.0
@eslint/eslintrc - npm
The legacy ESLintRC config file format for ESLint. Latest version: 3.3.5, last published: 6 days ago. Start using @eslint/eslintrc in your project by running `npm i @eslint/eslintrc`. There are 584 other projects in the npm registry using @eslint/eslintrc.
      » npm install @eslint/eslintrc
    
Published   Mar 06, 2026
Version   2.1.0
Author   Nicholas C. Zakas
🌐
GitHub
github.com › eslint › eslint › issues › 14137
ESLint fails with ESM and JS eslintrc · Issue #14137 · eslint/eslint
February 24, 2021 - ESLint fails in a very minimal installation when ESM are used and the .eslintrc format is JS. The eslint CLI tries to load the .eslintrc.js with require, which fails if you've set "type": "module" in your package.json. Steps to reproduce...
Author   HartS
🌐
ESLint
archive.eslint.org › docs › 7.0.0 › user-guide › configuring
Configuring ESLint
There are two primary ways to configure ESLint: Configuration Comments - use JavaScript comments to embed configuration information directly into a file. Configuration Files - use a JavaScript, JSON or YAML file to specify configuration information for an entire directory and all of its subdirectories. This can be in the form of an .eslintrc...
🌐
Reddit
reddit.com › r/learnjavascript › eslint doesn't include a .eslintrc file
r/learnjavascript on Reddit: eslint doesn't include a .eslintrc file
April 28, 2024 -

I want to use eslint (v 9.1.1) for a react project. From following the documentation, I did the following:

  • npm init eslint/config

Following that it says the following: https://eslint.org/docs/v8.x/use/getting-started#configuration

After running npm init eslint/config, you’ll have an .eslintrc.{js,yml,json} file in your directory.

Yet that file doesn't exist in my directory. Any idea why this file wasn't included?

🌐
DeepWiki
deepwiki.com › eslint › eslintrc › 2-getting-started
Getting Started | eslint/eslintrc | DeepWiki
May 26, 2025 - This document provides a practical guide for installing and using the @eslint/eslintrc package to migrate from legacy ESLint configurations to flat config format.
🌐
GitHub
github.com › eslint › eslintrc › issues › 216
High level vulnerability in ajv@6.12.x · Issue #216 · eslint/eslintrc
1 month ago - Associated line in package.json: eslintrc/package.json Line 65 in 245ada5 "ajv": "^6.12.4", Snyk vulnerability: https://security.snyk.io/vuln/SNYK-JS-AJV-15274295 ajv has released a new tag (8.18.0) which fixes the vulnerability. Is it p...
Author   kpalumbokitu