From a6ce17e19c4c7360896a0c9e6ce0ca8021036bca Mon Sep 17 00:00:00 2001 From: Pine Wu Date: Wed, 26 Aug 2020 12:09:39 +0800 Subject: [PATCH] Fix #2131 --- CHANGELOG.md | 1 + docs/interpolation.md | 2 +- package.json | 7 ++++++- server/src/config.ts | 2 ++ server/src/modes/template/interpolationMode.ts | 5 +++-- 5 files changed, 13 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4ad76d0d8a..de6d718bd5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ ### 0.27.0 +- Add setting `vetur.validation.interpolation` so interpolation diagnostics and `eslint-plugin-vue` diagnostics can be configed separately. #2131. - Fix VLS crash for *.vue files in node_modules. #2006. - Upgrade to TypeScript 4.0.2 and fix symbol outline issue. #1849. - Improve JSDoc presentation in hover/completion in interpolation mode. #1337. diff --git a/docs/interpolation.md b/docs/interpolation.md index eda3293632..ec9410a1e2 100644 --- a/docs/interpolation.md +++ b/docs/interpolation.md @@ -17,7 +17,7 @@ Vetur now offers completion, diagnostics, hover, jump to definition, find refere ## Generic Language Features ::: warning -These features are experimental and you need to set `vetur.experimental.templateInterpolationService: true` to enable them. You can also only disable template diagnostics with `vetur.validation.template: false`, although that disables the built-in ESLint checking, too. +These features are experimental and you need to set `vetur.experimental.templateInterpolationService: true` to enable them. You can also only disable template diagnostics with `vetur.validation.interpolation: false`. ::: Currently diagnostics, hover, jump to definition and find references are implemented in this way: diff --git a/package.json b/package.json index 8bf3c08b55..709ff0486f 100644 --- a/package.json +++ b/package.json @@ -246,6 +246,11 @@ "default": true, "description": "Validate vue-html in