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

jslint recursive -- add flags to control what directories are searched. #696

Closed
valueof opened this issue Oct 12, 2012 · 0 comments
Closed

Comments

@valueof
Copy link
Member

valueof commented Oct 12, 2012

(OP: @Niggler)

When jslint is used recursively, every directory is included. In particular, there are issues with third party node modules which I don't want to see.

Grep handles it with the --include and --exclude options:

     --include=PATTERN
          Recurse in directories only searching file matching PATTERN.

     --exclude=PATTERN
          Recurse in directories skip file matching PATTERN.

Even a flag that skipped all of the node_modules directories would suffice for this purpose ...

@valueof valueof closed this as completed in 5de09c4 Jul 2, 2013
jugglinmike pushed a commit to jugglinmike/jshint that referenced this issue Oct 21, 2014
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

1 participant