Open HansCronau opened 3 years ago
Vetur: Restart VLS
When setting vetur.format.defaultFormatter.ts in settings.json to an invalid value, the following message pops up:
vetur.format.defaultFormatter.ts
settings.json
Value is not accepted. Valid values: "none", "prettier", "prettier-tslint", "vscode-typescript".
The option prettier-tslint is not mentioned as a valid formatter in the docs. Should the error message or the docs be updated?
prettier-tslint
I did test the prettier-tslint option and it does actually seem to work.
Add the following line to either settings.json:
"vetur.format.defaultFormatter.ts": "invalid-formatter",
We have prettier-tslint in vetur. but it doesn't have a doc.
Vetur: Restart VLS
Info
Problem
When setting
vetur.format.defaultFormatter.ts
insettings.json
to an invalid value, the following message pops up:The option
prettier-tslint
is not mentioned as a valid formatter in the docs. Should the error message or the docs be updated?I did test the
prettier-tslint
option and it does actually seem to work.Reproducible Case
Add the following line to either
settings.json
: