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

feat(default-exports): add autofix even if component name is not found #90

Merged
merged 1 commit into from
Apr 16, 2022

Conversation

yannbf
Copy link
Member

@yannbf yannbf commented Apr 15, 2022

Issue: N/A

What Changed

default-exports rule now autofixes even if the component is not imported. In that case, it will add an empty export like:

export default {}

Checklist

Check the ones applicable to your change:

  • Ran yarn update-all
  • Tests are updated
  • Documentation is updated

Change Type

Indicate the type of change your pull request is:

  • maintenance
  • documentation
  • patch
  • minor
  • major

@yannbf yannbf added the patch Increment the patch version when merged label Apr 15, 2022
Copy link
Member

@shilman shilman left a comment

Choose a reason for hiding this comment

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

LGTM - good one! ✅

@yannbf yannbf merged commit 7300a83 into main Apr 16, 2022
@yannbf yannbf deleted the feat/default-exports-autofix branch April 16, 2022 15:32
@github-actions
Copy link

🚀 PR was released in v0.5.10 🚀

@github-actions github-actions bot added the released This issue/pull request has been released. label Apr 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
patch Increment the patch version when merged released This issue/pull request has been released.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants