Skip to content

Commit

Permalink
Update hadolint
Browse files Browse the repository at this point in the history
  • Loading branch information
pataxis committed Jul 11, 2024
1 parent e384bcd commit 8793748
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/super-linter.env
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions .vscode/hadolint
Original file line number Diff line number Diff line change
@@ -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 - <"$@"
2 changes: 1 addition & 1 deletion .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": []
}
Expand Down

0 comments on commit 8793748

Please sign in to comment.