Updated config lookup algorithm in ESLint 10
ESLint 10 is out and it comes with something truly great: config discovery starting from the directory where the linted file resides, instead of process.cwd() and moving down. This means you can have different ESLint configs for different directories without having to write a custom CLI wrapper over ESLint to deal with the whole thing. This guarantees that the config file in use is the closes to the file being linted.
Read more →