-
-
Notifications
You must be signed in to change notification settings - Fork 291
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
Recursive glob patterns #201
Comments
What happens when you use Also, how are you running XO? |
Hey @Qix- that seems to have fixed it. I am running as an npm script: Cheers. |
Yep - without the single quotes, it's your shell trying to expand the double star, not XO. To get it to work otherwise, you'd need |
Running
0.18.1
on Ubuntu 16.10 with Nodev7.7.1
.I have the following command:
xo resources/**/*.js
.I am trying to use it on the following structure:
Now that reports all linting failues in
config.js
but notmain.js
if I change that command to:xo resources/**/**/*.js
. it now works but obviously I don't want to have to add a/**
everytime I go one directory deeper.I have looked at globby#24 and cpy#10 but neither seemed to really address the issue.
Is this by intentition or is this a bug?
In an ideal world
xo resources/**/*.js
would traverse all folders underneathresources
recursively.Cheers.
The text was updated successfully, but these errors were encountered: