You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there.
This is neither a rule proposal nor a bug. I would just like to know if there is a possibility to tailor the rulemultiline-html-element-content-newline to my needs.
I really like to insert empty lines in longer markup files to group some of the code for better readability. Now my eslint warns me that it found 2 lines instead of 1.
I think the rule itself is useful, but I would like it to not warn me if there are more than 1 lines found.
I've just come here to open an issue for the same request.
But I would like to propose to limit it to: 1 ≤ #line-breaks ≤ 2. In my experience a single empty is a good way to visually group related lines, but multiple empty lines (≥2) create a mess.
Hi there.
This is neither a rule proposal nor a bug. I would just like to know if there is a possibility to tailor the rule
multiline-html-element-content-newline
to my needs.I really like to insert empty lines in longer markup files to group some of the code for better readability. Now my eslint warns me that it found 2 lines instead of 1.
I think the rule itself is useful, but I would like it to not warn me if there are more than 1 lines found.
eslint-plugin-vue/tests/lib/rules/multiline-html-element-content-newline.js
Line 425 in 07a7d9f
Thanks for your input on this issue.
Cheers
J
The text was updated successfully, but these errors were encountered: