You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
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 butsrc/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.
The text was updated successfully, but these errors were encountered: