vetur template validation settings
See original GitHub issueInfo
- 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:
- Created 6 years ago
- Comments:7 (5 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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 ?
@taivu Now I’m looking at your setup, you should run
npm i -D eslint eslint-plugin-vue
. You need to install botheslint
andeslint-plugin-vue
locally for Vetur to work.Meanwhile I have updated dependencies on
eslint
andeslint-plugin-vue
on https://github.com/octref/veturpack. You can look at it to see how to correctly setup. Vetur docs are also updated.