Skip to content

Conversation

michalsnik
Copy link
Member

@michalsnik michalsnik commented Apr 21, 2018

This PR fixes #416 by allowing users to use default key not only as Identifier, but also as a Literal in require-default-prop rule:

{
  'default': 0,
}

@michalsnik michalsnik self-assigned this Apr 21, 2018
@michalsnik michalsnik merged commit 552ea4f into master Jul 11, 2018
@michalsnik michalsnik deleted the fix-require-default-property branch July 11, 2018 16:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

vue/require-default-prop doesn't recognized quoted property name.
2 participants