diff --git a/.github/super-linter.env b/.github/super-linter.env index f0ce875..d4d2d69 100644 --- a/.github/super-linter.env +++ b/.github/super-linter.env @@ -2,7 +2,7 @@ DEFAULT_BRANCH=main VALIDATE_ALL_CODEBASE=true IGNORE_GITIGNORED_FILES=true LINTER_RULES_PATH=/ -DOCKERFILE_HADOLINT_FILE_NAME=.hadolint.yml +DOCKERFILE_HADOLINT_FILE_NAME=.hadolint.yaml MARKDOWN_CONFIG_FILE=.markdownlint.yml NATURAL_LANGUAGE_CONFIG_FILE=.textlintrc YAML_CONFIG_FILE=.yamllint.yml diff --git a/.hadolint.yml b/.hadolint.yaml similarity index 100% rename from .hadolint.yml rename to .hadolint.yaml diff --git a/.vscode/hadolint b/.vscode/hadolint index dde2f33..d7d8c6a 100755 --- a/.vscode/hadolint +++ b/.vscode/hadolint @@ -1,4 +1,4 @@ #!/bin/bash -docker run --rm -i hadolint/hadolint hadolint --no-color \ - - <"$@" +docker run --rm -i -v "$(pwd)"/.hadolint.yaml:/.config/hadolint.yaml \ + hadolint/hadolint hadolint --no-fail - <"$@" diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 2a48459..cd56763 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -4,7 +4,7 @@ { "label": "super-linter: Run all linters", "type": "shell", - "command": "cd ${workspaceFolder} && docker run --rm -e RUN_LOCAL=true --env-file '.github/super-linter.env' -v \"$PWD\":/tmp/lint -w /tmp/lint ghcr.io/github/super-linter:slim-v6", + "command": "cd ${workspaceFolder} && docker run --rm -e RUN_LOCAL=true --env-file '.github/super-linter.env' -v \"$PWD\":/tmp/lint -w /tmp/lint ghcr.io/super-linter/super-linter:slim-v6", "group": "lint", "problemMatcher": [] }