Skip to content

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

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

Successfully merging this pull request may close these issues.

2 participants