Skip to content

Update shellcheck to 0.8 #776

@bendem

Description

@bendem
  • This is a bug report
  • This is a feature request
  • I searched existing issues before opening this one

Expected behavior

Using $'\n' in RUN, I should be getting SC3003 and be able to ignore it.

Actual behavior

I'm getting old shellcheck warnings like SC2039 which have been split into multiple ones.

Steps to reproduce the behavior

> docker run --rm --pull=always -i hadolint/hadolint hadolint - <<EOF
FROM scratch
RUN echo $'\n'
EOF

latest: Pulling from hadolint/hadolint
Digest: sha256:1b47f3192d2c69c622863b84d5cccbfa0c1fac9022bfc297aa931e6d44e51608
Status: Image is up to date for hadolint/hadolint:latest
-:2 SC2039 warning: In POSIX sh, $'..' is undefined.

Additional environment details (OS, stack version, etc.)

N/A

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