-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No way to customize VLS settings #85
Comments
I'm working on a PR for this. |
Sorry for the late response, but I believe you can customize the VLS' configuration by https://vuejs.github.io/vetur/reference/#example. Would you like to have a try? |
That's true, but that affects VS Code's behavior as well. I want to be able to turn off template and interpolation validation for the build, but keep those enabled within VS Code. Reason being is that I want that feedback in VS code because its often useful, but sometimes there are typescript errors within the template (usually Essentially, I'm trying to replicate the behavior of vue-cli. Typescript validation on I submitted a PR #86 that enables the vetur settings to be overridden just for this plugin. |
# Conflicts: # packages/vite-plugin-checker/src/checkers/vls/main.ts # packages/vite-plugin-checker/src/types.ts
# Conflicts: # packages/vite-plugin-checker/src/checkers/vls/main.ts # packages/vite-plugin-checker/src/types.ts
# Conflicts: # packages/vite-plugin-checker/src/checkers/vls/main.ts # packages/vite-plugin-checker/src/types.ts
# Conflicts: # packages/vite-plugin-checker/src/checkers/vls/main.ts # packages/vite-plugin-checker/src/types.ts
Unless I'm missing something, it doesn't appear there's a way to customize the settings passed to VLS.
I want to perform type checking on my
<script lang=ts>
, but not on my templates. It seems these settings are hardcoded ininitParams
and there's no way to override them. Is there something I'm missing?The text was updated successfully, but these errors were encountered: