Skip to content

[Vue] remove unnecessary semicolon in event bindings #5509

@ikatyang

Description

@ikatyang

Originally reported by @TomCaserta in #5378 (comment).

Prettier 1.15.2
Playground link

--parser vue

Input:

<template>
  <div @click="doSomething()"></div>
</template>

Output:

<template>
  <div @click="doSomething();"></div>
</template>

Expected behavior:
Same as input.

Metadata

Metadata

Assignees

No one assigned

    Labels

    lang:vueIssues affecting Vuelocked-due-to-inactivityPlease open a new issue and fill out the template instead of commenting.status:has prIssues with an accompanying pull request. These issues will probably be fixed soon!

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions