rcjsuen / dockerfile-language-service

Dockerfile language service for providing an API to create feature-rich Dockerfile editors in JavaScript.
MIT License
16 stars 2 forks source link

Add formatting option so that multiline instructions can be ignored #83

Closed rcjsuen closed 3 years ago

rcjsuen commented 3 years ago
RUN apt-get update -y && \
    apt-get install -y curl && \
            git \
            make

Given something like the above, it is not always desirable for it to be formatted into the following.

RUN apt-get update -y && \
    apt-get install -y curl && \
    git \
    make

We need to introduce a formatting option for multiline instructions to be ignored.