Lint command doesn't work with nested folders
MikeSuiter opened this issue · 1 comments
MikeSuiter commented
I'm using the same lint command and found it out doesn't work on nested folders on macOS. For example src/components/Component.js
gets linted but src/components/field/Component.js
doesn't. After a lot of pain tracking down I changed this:
"lint": "eslint ./src/**/*.js --max-warnings=0 --format=codeframe"
to this:
"lint": "eslint \"./src/**/*.js\" --max-warnings=0 --format=codeframe"
I tested on both macOS and Windows and both seem happy.
F1LT3R commented
Thanks @MikeSuiter ! Can you submit PR?