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.

vetur template validation settings

See original GitHub issue
  • [ X] I have searched through existing issues
  • [X ] I have read through docs
  • [X ] I have read FAQ

Info

  • Platform: macOS
  • Vetur version: 0.11.6
  • VS Code version: 1.19.2

Problem

"vetur.validation.template": true uses plugin:vue/essential.

can we have this be configurable? I’d like Vetur to use plugin:vue/recommended. I tried to set vetur’s setting to be false and installing eslint and eslint-plugin-vue@next, as instructed here. but when doing it that way, i get npm errors. I thought Vetur should be configurable.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
HerringtonDarkholmecommented, Jan 19, 2018

“vetur.validation.template”: true uses plugin:vue/essential. can we have this be configurable?

This sounds reasonable. We can support minimal configuration only in Vetur itself. And it can also be applied to vue language server. What’s your opinion @octref ?

0reactions
octrefcommented, Mar 6, 2018

@taivu Now I’m looking at your setup, you should run npm i -D eslint eslint-plugin-vue. You need to install both eslint and eslint-plugin-vue locally for Vetur to work.

Meanwhile I have updated dependencies on eslint and eslint-plugin-vue on https://github.com/octref/veturpack. You can look at it to see how to correctly setup. Vetur docs are also updated.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Linting / Error Checking | Vetur - GitHub Pages
If you want to config ESLint rules, do the following: Turn off Vetur's template validation with vetur.validation.template: false; Make sure you have the ......
Read more >
How do I disable vetur linting in vscode workspace?
Turns out you can just add it to your global vscode settings. F1>Preferences:Open Settings (JSON). paste "vetur.validation.template": false, ...
Read more >
How to setup ESLint and Prettier with VS Code and VueJS
You can set Vetur as the default by selecting ”Configure Default Formatter” after ”Format Document With…” then select ”Vetur” from the options.
Read more >
enable vetur.validation.template (missing props ... - Issuehunt
Same happens if I use vti diagnostics . Reproducible Case .vscode\settings.json "eslint.enable": true, "eslint.validate": ["vue ...
Read more >
ESLint and Prettier with Vite and Vue.js 3 - Vue School Blog
Learn how to set up Prettier and ESLint with Vite for your next Vue 3 ... Code/User/settings.json "vetur.validation.template": false ...
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