Skip to content
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

Offer VLS through CLI #1149

Closed
reuwi opened this issue Mar 14, 2019 · 4 comments · Fixed by #1634
Closed

Offer VLS through CLI #1149

reuwi opened this issue Mar 14, 2019 · 4 comments · Fixed by #1634

Comments

@reuwi
Copy link

@reuwi reuwi commented Mar 14, 2019

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?

@octref octref changed the title Feat request: Support formatting whole project Feat request: CLI for formatting Mar 14, 2019
@octref
Copy link
Member

@octref octref commented Mar 14, 2019

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

@octref octref changed the title Feat request: CLI for formatting Offer VLS through CLI Apr 26, 2019
@octref
Copy link
Member

@octref octref commented Apr 26, 2019

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

I've updated the title to track that.

@Yuyz0112
Copy link

@Yuyz0112 Yuyz0112 commented Oct 11, 2019

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

octref added a commit that referenced this issue Jan 12, 2020
@octref octref mentioned this issue Jan 12, 2020
@octref octref closed this in #1634 Jan 12, 2020
@octref
Copy link
Member

@octref octref commented Jan 12, 2020

#1635

demo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

3 participants