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

Add support for ignoring certain paths #6

Open
cyberixae opened this issue Mar 8, 2019 · 1 comment
Open

Add support for ignoring certain paths #6

cyberixae opened this issue Mar 8, 2019 · 1 comment

Comments

@cyberixae
Copy link

I typically need this kind of tool for linting json configurations of my project. The problem is that it also lints all json files within node_modules.

@educastellano
Copy link
Owner

That sounds it would be a useful feature, how about:

jsonlint-tree app --ignore node_modules

The recursive-readdir module accepts a second parameter to ignore files, we could pass the cli argument directly here.

If you make a PR I'll be happy to merge 🙂

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

2 participants