react-workspaces / react-workspaces-playground

⚛️ 🐈 Zero Config Create-React-App Monorepos with Yarn Workspaces, Lerna and React Storybook.

Home Page:https://react-workspaces.github.io/react-workspaces-playground/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Lint command doesn't work with nested folders

MikeSuiter opened this issue · comments

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.

Thanks @MikeSuiter ! Can you submit PR?