Skip to content

[no-unexpected-multiline]: False positive with template string #139

Closed
@jacobrask

Description

@jacobrask

Repro

const IssueTitle = styled.h3<{
  size: StartpageComponentCarousel['params']['size'];
}>`
  display: inline-block;
`;

Gives no-unexpected-multiline error.

Versions

package version
@typescript-eslint/eslint-plugin X.Y.Z
@typescript-eslint/parser 1.1.0
TypeScript 3.2.4
ESLint 5.12.1
node X.Y.Z
npm X.Y.Z

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancement: new base rule extensionNew base rule extension required to handle a TS specific caseexternalThis issue is with another package, not typescript-eslint itselfpackage: typescript-estreeIssues related to @typescript-eslint/typescript-estree

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions