michaellzc / vscode-hadolint

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

.hadolint.yaml is not being respected #87

Open monkey-knuckles opened 3 days ago

monkey-knuckles commented 3 days ago

Describe the bug Hadolint is working out of the box inside VSC. But it does not respect my '.hadolint.yaml' rules.

To Reproduce Steps to reproduce the behavior:

  1. Install Hadolint via the marketplace
  2. place a '.hadolint.yaml' file in the root directory (I store mine in .config but I moved it to root for testing)

Expected behavior

Hadolint should now be showing up errors in the problems tab (it does). It should also ignore any disabled rules in the '.hadolint.yaml' file. (It does not)

DL3000 config not working hadolint DL3000

monkey-knuckles commented 3 days ago

Not sure if this has anything to do with WSL 2.0 but I am using Windows 11.