I am using OSX, in my package.json
file I have the script entry:
"lint": "eslint ./src/**/*.js"
However, when I run npm lint
only the 1st level of directories are being considered for linting, eg. ./src/dir/*
not ./src/dir/nested_dir/*
.
I was under the impression that **
glob indicated recursive search?
Does anyone know how I can make this behave as expected?