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

Any way to ignore specific file paths? #18

Closed
izakp opened this issue Sep 20, 2017 · 4 comments
Closed

Any way to ignore specific file paths? #18

izakp opened this issue Sep 20, 2017 · 4 comments
Assignees

Comments

@izakp
Copy link
Contributor

izakp commented Sep 20, 2017

I would like to be able to opt-out of Danger checks on certain file paths, much like a .gitignore file we should be able to put a .dangerignore file in our repos to exclude glob'ed paths.

@orta
Copy link
Contributor

orta commented Sep 20, 2017

Do you mean specifically for spell checking? The spellcheck plugin supports adding custom per-repo spellcheck definitions, you can see it in action on bearden: https://github.com/artsy/bearden/blob/master/spellcheck.json

@izakp
Copy link
Contributor Author

izakp commented Sep 21, 2017

I mean to ignore spellchecking for any files on a given path, not the spellcheck definitions.

@orta
Copy link
Contributor

orta commented Sep 21, 2017

Yep - that's supported, you can use the "whitelistFiles" section in the options:

{
  "ignore": ["orta", "artsy", "github", "/danger-*."],
  "whitelistFiles": ["thing.md", "next.md"]
}

@izakp
Copy link
Contributor Author

izakp commented Sep 28, 2017

👍

@izakp izakp closed this as completed Sep 28, 2017
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