Vetur: Offer VLS through CLI

Created on 14 Mar 2019  路  4Comments  路  Source: vuejs/vetur

Recently I changed some rules of my prettier config file, so I have to lint my whole project, and I could format my javascript file via prettier cli, but there is not such command for my vue file, so is it possible to support such command to format the whole project?

infrastructure formatting template-interpolation

Most helpful comment

All 4 comments

Yes, this is doable. I'll provide a CLI tool for using VLS for formatting.

Offering VLS on CLI would enable other things too such as template type-checking.

I've updated the title to track that.

https://github.com/Yuyz0112/vue-type-check
I have made a simple CLI that port the template type-checking feature.

Was this page helpful?
0 / 5 - 0 ratings