Skip to content

allow explicitly ignoring directories #21

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 1 commit into from
May 21, 2020

Conversation

jhackshaw
Copy link
Contributor

Add option to explicitly ignore folders from being checked.

My use case is for the netlify-cms plugin with a gatsby project. It automatically includes a bunch of files under /admin that I don't want to check, but I do want to check every other page on the site.

With these changes, I would configure the plugin like this:

[plugins.inputs]
checkPaths = ['/']
ignoreDirectories = ['/admin']

@swyxio swyxio merged commit edc23f3 into netlify-labs:master May 21, 2020
@swyxio
Copy link
Contributor

swyxio commented May 21, 2020

lgtm! will ship in next minor

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants