How to run eslint recursively on all the files in root directory without glob patterns
eslint . --ext .js
It is similar to the following glob pattern
eslint ./**/*.js
if you want multi platform support then you can use
path()
as follows.
import path from 'path';
eslint path.join(__dirname) --ext .js