niksite / SublimeLinter-contrib-hadolint

MIT License
11 stars 4 forks source link

Hadolint ignore "hadolint ignore" :) #6

Open AuthorProxy opened 3 years ago

AuthorProxy commented 3 years ago

Inline ignoring not working # hadolint ignore=DL3008

the same as .hadolint.yaml ignores

ignored:
  - DL3008
yellowsoar commented 3 years ago

It works for me... OS: macOS 11.2.1 (20D74) ST: Version 3.2.2, Build 3211 Haskell Dockerfile Linter 1.23.0-no-git

SublimeLinter setting:

        "SublimeLinter-contrib-hadolint": {
            "disable": false,
            "args": [""],
            "executable": ["hadolint"],
            "env": {"PATH": "/usr/local/bin/"},
            "excludes": [],
            "selector": "source.dockerfile",
            "styles": [
                {
                    "codes": [""]
                }
            ],
            "working_dir": "",
            "disable_if_not_dependency": false
        },