I'd love to see inline/annotation support for ignore rules. Many other linters (one example: shellcheck) does the same.
The ignore rule would then only apply to the following line instead of all files in the run. Similarly, applying it to the top of the file would only apply it to said file.
Example (from actionlint annotation examples):
- name: Run Actionlint
# actionlint ignore=SC2016
run: |
actionlint -format '{{range $err := .}}::error file={{$err.Filepath}},line={{$err.Line}},col={{$err.Column}}::{{$err.Message}}{{end}}' .github/workflows/*.yml
I'd love to see inline/annotation support for ignore rules. Many other linters (one example: shellcheck) does the same.
The ignore rule would then only apply to the following line instead of all files in the run. Similarly, applying it to the top of the file would only apply it to said file.
Example (from actionlint annotation examples):