michaellzc / vscode-hadolint

VSCode extension to integrate hadolint, a Dockerfile linter, into VSCode
https://marketplace.visualstudio.com/items?itemName=exiasr.hadolint
MIT License
77 stars 5 forks source link

**EDIT**: solved the issue by moving all my customizations to `$HOME/.config/hadolint.yaml` instead. #84

Open tseidl-bhs opened 1 year ago

tseidl-bhs commented 1 year ago
          **EDIT**: solved the issue by moving all my customizations to `$HOME/.config/hadolint.yaml` instead.

I'm suddenly getting the error

Please visit [ExiaSR/vscode-hadolint#44](https://github.com/ExiaSR/vscode-hadolint/issues/44#issuecomment-808756114). You may be using an outdated version of hadolint or you are running hadolint in Docker```

I am not running an outdated version of hadolint:

$ hadolint --version
Haskell Dockerfile Linter 2.12.0

I have the following settings set:

  "hadolint.cliOptions": ["--no-color", "--ignore DL3008", "--ignore DL3016"],
  "hadolint.hadolintPath": "/opt/homebrew/bin/hadolint"

What am I doing wrong?

Originally posted by @KTamas in https://github.com/michaellzc/vscode-hadolint/issues/44#issuecomment-1340842835

tseidl-bhs commented 1 year ago

I also had the same Problem, is their any solution for this? I only wanted to add "--ignore DL4001", to the hadolint.cliOptions