Skip to content

Conversation

@drsoft28
Copy link
Contributor

This command is used to format Vue files in the specified order. The order is specified by the user in the format argument. The format argument is a string of 3 characters, each character can be s,t,l s: scripts, t: template, l: style
The command will search for all Vue files in the specified folder and format them in the specified order. The command will ask for confirmation before updating the file. The command will also run test function if --test option is passed.

we can use this command after install vue-starter-ket to ask user which sequence wants, for example : if want Template,Script,Style we tell him write tsl

This command is used to format Vue files in the specified order.
The order is specified by the user in the format argument.
The format argument is a string of 3 characters, each character can be s,t,l
s: scripts, t: template, l: style
The command will search for all Vue files in the specified folder and format them in the specified order.
The command will ask for confirmation before updating the file.
The command will also run test function if --test option is passed.

we can use this command after install vue-starter-ket to ask user which sequence wants, for example : if want Template,Script,Style
we tell him write tsl
@Plytas
Copy link
Contributor

Plytas commented Apr 14, 2025

I don't think this is needed here. There are already tools (ESLint) that achieves this and is common frontend environment.

@tnylea
Copy link
Contributor

tnylea commented Apr 14, 2025

Hey @drsoft28, thanks for the PR, but we won't be able to merge this one. We are using ESlint to handle formatting.

If there is some formatting that you feel should be modified go ahead and submit a PR to update the ES lint rules. Thanks so much!

@tnylea tnylea closed this Apr 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants