Skip to content

Don't show alerts on multiple line tag definitions #45

@netdjw

Description

@netdjw

Describe the bug
Don't show alerts on multiple line tag definitions.

To Reproduce
If I use multiple lines for HTML tags, like below, the plugin don't show any alerts, warnings, or errors:

<input
  type="password"
  maxlength="3"
/>

I know this is not a standard of code usage, but it is acceptable if we want.

If I change to this format, the plugin works as I expect:

<input type="password" maxlength="3">

Expected behavior
I expect alerts on multiline tags too, because of max-line-length rule of linters I use multiline tags in many cases.

Visual Studio Code (please complete the following information):

  • VSCode version: 1.55.1
  • Plugin version: 0.2.83

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions