Vetur: How To Configure Prettier To Omit Semicolons

Created on 18 Mar 2018  路  1Comment  路  Source: vuejs/vetur

  • [YES] I have searched through existing issues
  • [ YES] I have read through docs
  • [YES] I have read FAQ

Info

Problem

I know it's possible to omit semicolons from the code with prettier. How do I configure it for use with Vetur?

question

Most helpful comment

If you have a .prettierrc in your project root, Vetur will use it. Otherwise, you can add the user setting prettier.semi: false to your user config. https://vuejs.github.io/vetur/formatting.html

>All comments

If you have a .prettierrc in your project root, Vetur will use it. Otherwise, you can add the user setting prettier.semi: false to your user config. https://vuejs.github.io/vetur/formatting.html

Was this page helpful?
0 / 5 - 0 ratings

Related issues

octref picture octref  路  3Comments

octref picture octref  路  3Comments

pdanpdan picture pdanpdan  路  3Comments

KokoDoko picture KokoDoko  路  3Comments

muhajirdev picture muhajirdev  路  3Comments