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

chore: remove multiple displayName assignments per file #1241

Merged
merged 2 commits into from
Nov 9, 2021

Conversation

jzempel
Copy link
Member

@jzempel jzempel commented Nov 9, 2021

Description

In general, Garden prefers exporting one JSX component per file for clarity and readability. This PR sweeps up a few exceptions in order to accommodate a bug with react-docgen-typescript that fails to parse the correct component displayName when there are multiple assignments within the file.

Merging this PR will allow

  • future Renovate react-docgen-typescript updates used by the cmd-docgen command in @zendeskgarden/scripts
  • dependency updates for website-generated documentation

Detail

See styleguidist/react-docgen-typescript#395 for details

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.001%) to 94.866% when pulling a26c511 on jzempel/x-display-name into a82c908 on main.

@jzempel jzempel merged commit 5bcf7f6 into main Nov 9, 2021
@jzempel jzempel deleted the jzempel/x-display-name branch November 9, 2021 18:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

None yet

4 participants