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

How to remove empty line in html attributes #2570

Open
liasica opened this issue Oct 7, 2024 · 1 comment
Open

How to remove empty line in html attributes #2570

liasica opened this issue Oct 7, 2024 · 1 comment

Comments

@liasica
Copy link

liasica commented Oct 7, 2024

I wan't remove the empty line between <BTable and :columns="columns", what can I do?

Thanks :)

<!-- Good -->
<BTable
  :columns="columns"
  :data="data"
  :scroll="scroll"
  :expandable="expandable"
/>

<!-- Bad -->
<BTable

  :columns="columns"
  :data="data"
  :scroll="scroll"
  :expandable="expandable"
/>
@liasica liasica changed the title Remove empty line in html attributes How to remove empty line in html attributes Oct 7, 2024
@FloEdelmann
Copy link
Member

I don't think this is possible with eslint-plugin-vue yet. You can use Prettier or another code formatter.

For eslint-plugin-vue, which rule would you like to change? (see the list of all rules here: https://eslint.vuejs.org/rules/)
Or do you want to propose a new rule?

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

No branches or pull requests

2 participants