Skip to content

indentation is wrong in template literal expression #1176

@CedricRaison

Description

@CedricRaison

What version of standard? 11.0.1

What operating system, Node.js, and npm version? Ubuntu 18.04 node 8.9 npm 5.5.1

What did you expect to happen?
Template literal expressions does not indent correctly.
example with styleguide.js from choo website.

If you run standard --fix styleguide.js, template literal expression indentation is totally wrong at line 16 and in every template literal expression.

I past the code to the try it out section of the standard website and it work well, so I assume the website use an old version of the standard library that don't contain the bug.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions