warpnet / vscode-salt-lint

VSCode extension for running salt-lint in your editor.
https://marketplace.visualstudio.com/items?itemName=warpnet.salt-lint
Other
6 stars 1 forks source link

Feature request: Ignore specific lint recommendations globally #25

Open jl133780085 opened 6 months ago

jl133780085 commented 6 months ago

image

Feature request to provide a mechanism to ignore specific lint recommendations globally instead of per line. For the example above, it is desirable to ignore this, however the only mechanism is to comment "# noqa: xxx" on that specific line:

/tmp/testfile:
  file.managed:
    - source: salt://{{unspaced_var}}/example  # noqa: 207