Unquote numeric properties for Vue (if it's indeed safe to do that) #10127
Labels
lang:vue
Issues affecting Vue
status:needs investigation
Issues that need additional investigation, e.g. to understand whether the reported behavior is a bug
Unquoted numeric property names seem to be supported in Vue expressions.
But first, before fixing this, it'd be good to find some solid confirmation that it's 100% safe to do that.
Prettier 2.2.1
Playground link
Input:
Output:
Expected (?):
The text was updated successfully, but these errors were encountered: