Skip to content

Conversation

hendrikheil
Copy link
Contributor

πŸ”— Linked issue

No issue yet

❓ Type of change

  • πŸ“– Documentation (updates to the documentation or readme)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • πŸ‘Œ Enhancement (improving an existing functionality)
  • ✨ New feature (a non-breaking change that adds functionality)
  • 🧹 Chore (updates to the build process or auxiliary tools and libraries)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

πŸ“š Description

This PR adds support for the camelCase variant of mdc-unwrap to be detected as well. This casing is what Vue officially recommends for props (see the docs).

We noticed unwrap didn't work for us as the official vue/prop-name-casing ESLint rule autofixes props to camelCase for us. (see the docs)

Copy link

pkg-pr-new bot commented May 7, 2025

npm i https://pkg.pr.new/@nuxtjs/mdc@388

commit: 15090ee

Copy link
Collaborator

@farnabaz farnabaz left a comment

Choose a reason for hiding this comment

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

Thanks πŸ‘

@farnabaz farnabaz merged commit 44fef67 into nuxt-modules:main May 9, 2025
2 checks passed
@hendrikheil hendrikheil deleted the fix/mdc-unwrap-prop-casing branch July 3, 2025 16:09
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.

2 participants