Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lint command doesn't work with nested folders #32

Open
MikeSuiter opened this issue Feb 5, 2020 · 1 comment
Open

Lint command doesn't work with nested folders #32

MikeSuiter opened this issue Feb 5, 2020 · 1 comment

Comments

@MikeSuiter
Copy link

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
Copy link
Collaborator

F1LT3R commented Apr 29, 2020

Thanks @MikeSuiter ! Can you submit PR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants