Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign up`src/**/*.js` doesn't match all the .js files in src folder #723
Comments
This comment has been minimized.
This comment has been minimized.
|
Ok I got it I should quote the path in npm script this will work |
CodinCat
closed this
Dec 16, 2016
lock
bot
locked as resolved and limited conversation to collaborators
May 10, 2018
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
CodinCat commentedDec 16, 2016
•
edited
#macOS Sierra
node.js v6.9.1
standard v8.6.0
Since I only want to lint the src folder, I have the follow npm script, which I expect should match all the files under src
"lint": "standard src/**/*.js --fix"but I found that this command doesn't match files which are more than 2 depth.
Not sure if is a bug, or it's an expected behavior and I'm doing something wrong,
thanks.