Skip to content

Make unescaped-html-literal more strict #638

Open
@wxiaoguang

Description

@wxiaoguang

At the moment, it can't find the following syntax:

const s = `
<div> 
   other ....
</div>
`;

It makes it dangerous to bypass the lint rule.

IMO the linter should trim the spaces to check?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions