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

default-exports: Refactor rule to handle meta declaration #177

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

yannbf
Copy link
Member

@yannbf yannbf commented Nov 1, 2024

Issue: #

What Changed

The default-exports rule now supports auto-adding export default when users have only typed:

const meta = {}

so it will become

const meta = {}
export default meta

Checklist

Check the ones applicable to your change:

  • Ran pnpm run 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 Nov 1, 2024
@yannbf yannbf requested a review from kasperpeulen as a code owner November 1, 2024 16:29
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant