You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think the problem is obvious just by reading the title.
As Vetur fails to actually work, I switched to wotan.
But as it seems, Wotan is not able to actually lint Vue files in VSCode.
I checked the regular .ts (TypeScript) files and they work just fine.
I also use valtyr and ve.
As an example, here's my .fimbullinter.yaml
# Tell wotan to use the valtyr module for linting.modules:
- "@fimbul/valtyr"# Valtýr configuration.valtyr:
overrides:
# Use the Vé preprocessor for all *.vue files.# Valtýr will still run for *.ts files by default.
- files: "*.vue"processor: "@fimbul/ve"exclude:
- "**/*.d.ts"
In my tsconfig.json file, I also added the mithotyn plugin like so:
This is kinda expected. The docs mention the following:
There are some limitations of the current implementation.
doesn't use processors at all
Which means it doesn't use processor: "@fimbul/ve" to make .vue files available to TypeScript.
However, I would expect the plugin that powers VSCode's language service for Vue files to do that kind of preprocessing and also respect the plugins option in your tsconfig.json.
It seems Vetur doesn't load TypeScript LanguageService plugins at all. Otherwise @fimbul/mithotyn or typescript-tslint-plugin would work when configured as plugins in tsconfig.json.
Related issue: vuejs/vetur#170 (but you probably already know that one).
TL;DR there's not much this project can do about that (without duplicating a lot of code from Vetur).
I think the problem is obvious just by reading the title.
As Vetur fails to actually work, I switched to wotan.
But as it seems, Wotan is not able to actually lint Vue files in VSCode.
I checked the regular
.ts
(TypeScript) files and they work just fine.I also use
valtyr
andve
.As an example, here's my
.fimbullinter.yaml
In my
tsconfig.json
file, I also added themithotyn
plugin like so:Is the
mithotyn
plugin not capable to lint vue files?If so, wotan is no solution for me...
The text was updated successfully, but these errors were encountered: