eslint-plugin-vue
eslint-plugin-vue copied to clipboard
vue/singleline-html-element-content-newline - option to enforce on size
Dealing with vue/singleline-html-element-content-newline
It would be cool if we could enforce this based on the character count of the element, for short ones they look clean on a single line, but this rule would be great for longer ones.
Either a character count in general, or attribute count, etc.
Ex: <p>text ...<nuxt-link to="/path">path</nuxt-link>text...</p>
Newline rule adds space in the end of link.
Each time I have to change the display property to..
display: inline-block
How better to stick to the rule and not insert an extra space?