Is the config file
.eslintrcdeprecated 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 install @eslint/eslintrc
Videos
» npm install @eslint/eslintrc
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?