buddy.js icon indicating copy to clipboard operation
buddy.js copied to clipboard

Ignore path

Open dylanized opened this issue 8 years ago • 2 comments

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!

dylanized avatar Oct 16 '17 21:10 dylanized

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

danielstjules avatar Dec 11 '17 03:12 danielstjules

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.

zacharyabresch avatar Oct 02 '18 15:10 zacharyabresch