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 ignore to build:backends to aid discovery #138

Merged
merged 2 commits into from
Dec 6, 2021

Conversation

ryanand26
Copy link
Contributor

react-docgen is set to run against all jsx and js files in extract-meta.js, as a result any Jest test files will throw warnings.

The boilerplate was my entrypoint to dash-generate-components so it took me an embarrassingly long time to find the ignore option.

This PR adds an example ignore pattern of a common Jest test filename pattern. Hopefully it also would give users a starting point to setup their own ignore without having to determine the format / escaping.

The more complex Jest default is here: https://jestjs.io/docs/configuration#testmatch-arraystring

Any question or concerns please just let me know, especially if I'm missing a part of your PR process. Cheers!

…jest test files will throw warnings. Add example ignore pattern that will prevent this and give users a starting point to setup their own ignore without having to determine the format / escaping
Copy link
Collaborator

@alexcjohnson alexcjohnson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, that's really nice! I don't see any cases this would cause problems and you're right, there are lots of cases this will help. Thanks! 💃

@alexcjohnson alexcjohnson merged commit 568894b into plotly:master Dec 6, 2021
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.

None yet

2 participants