question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[BUG] Prettier is not disabled for vue

See original GitHub issue

By default prettier is disabled for vue language. But this setting is not respected by prettier. Prettier formatter is always on for .vue files unless I toggle formatter on/off.

No local or global installation of prettier package.

Windows 10 x64

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
mubaidrcommented, Jun 2, 2018

Off-course this: "vetur.format.defaultFormatter.html": "js-beautify-html" is the problem!

1reaction
CiGitcommented, Jun 2, 2018

Disable Vetur ?

Read more comments on GitHub >

github_iconTop Results From Across the Web

VSCode prettier/vue formatting settings don't work properly
Turning off all the Vetur formatters and disabling all formatting capabilities of Vetur. Enabled ESLint as the formatter. This seems to have ...
Read more >
How to get rid of the "prettier" warnings? - Vue Forum
Disable that option in vue.config.js . That allows you to still run the lint command manually; Remove the prettier preset from eslintrc.js ....
Read more >
ESLint and Prettier with Vite and Vue.js 3 - Vue School Blog
Combing ESLint and Prettier make large scale Vue 3 apps clean and error free. Learn how to set up Prettier and ESLint with...
Read more >
Prettier | IntelliJ IDEA Documentation - JetBrains
Prettier is a tool to format .js, .ts, .css, .less, .scss, .vue, and .json code. With IntelliJ IDEA, you can format selected code...
Read more >
How I Resolved Vue.js, VSCode, Vetur, Prettyhtml, and ...
Prettier always wraps attributes and there's no way to disable it. Prettyhtml allows you to disable the wrap attributes, but removes all ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found