eslint-plugin-vue
eslint-plugin-vue copied to clipboard
How to remove empty line in html attributes
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"
/>
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?