Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Allow multiple lines after opening an element (multiline-html-element-content-newline) #683

Closed
@Jones-S

Description

@Jones-S

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.

'Expected 1 line break after opening tag (`<div>`), but 2 line breaks found.',

Thanks for your input on this issue.
Cheers

J

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions