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

Ignore path #23

Open
dylanized opened this issue Oct 16, 2017 · 2 comments
Open

Ignore path #23

dylanized opened this issue Oct 16, 2017 · 2 comments

Comments

@dylanized
Copy link

I added a local version of jQuery to my a repo, and now Buddy is failing with over 60 magic numbers found.

Is there any way to ignore a path?

Or can --ignorePath be added as a cli option?

Thank you!

@danielstjules
Copy link
Owner

Hey, sorry - pretty busy and don't have much time to maintain this project. Would welcome a PR!

@zacharyabresch
Copy link

Kinda old but I came looking for this feature and ended up with this workaround. Hope it helps someone! 😄

find ./directories/ ./you/ ./want/ ./to/ ./scan/ -name '*.js' | grep -v pattern_to_exclude | xargs buddy

This worked like a charm and gives the correct magic number counts AFAICT.

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

3 participants