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

question: possibility of ignoring directories and files with globbing #93

Open
dnepro opened this issue Mar 2, 2018 · 4 comments
Open

Comments

@dnepro
Copy link

dnepro commented Mar 2, 2018

Hello everybody :)
First off thank you very much for your work 👍

Maybe it's just me, but i don't seem to be able to ignore the node_modules-folder, how would a command: "lint all .md-files but ignore node_modules" look like, if it is possible in the first place?

@RichardLitt
Copy link
Collaborator

Thanks @dnepro. I don't think this is currently possible. I'd be happy to review a PR for this!

@jputrino
Copy link

Hi @dnepro - We have a workaround for this to ignore files in our docs/drafts directory:

write-good `find ./docs -not \( -path ./docs/drafts -prune \)` *.rst

@robellegate
Copy link

It would be nice if this project used something like globby to do smart, multi-pattern matching.

Here's how node-markdown-spellcheck does it.

@RichardLitt
Copy link
Collaborator

@robellegate Still happy to review a PR. :)

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

4 participants