Migrate to v9.x - ESLint - Pluggable JavaScript Linter
Make sure you upgrade to at least Node.js v18.18.0 when using ESLint v9.0.0.
Four new rules have been enabled in eslint:recommended:
Flat config. If you are using flat config, you can run npx eslint or eslint (if globally installed) and ESLint will assume you want to lint the current directory. Effectively, passing no patterns is equivalent to passing . .