Skip to content

Invalid indentaion #21

@zdm

Description

@zdm

Hi,

Multiline command indentation is broken.

Result:

RUN \
 # install dependencies
 NODE_ENV=production npm install-clean \
 # cleanup
 && /usr/bin/env bash <(curl -fsSL https://raw.githubusercontent.com/softvisio/scripts/main/env-build-node.sh) cleanup

I have 4 spaces indentation configured, but it always make 1 space indent, which is not very readable.

Link to the original issue: un-ts/prettier#441 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions