New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Inline ignores in files #237
Comments
Slightly related, but I also tried putting the ignore comment directly into the script, and it turns out that that doesn't work either, i.e.: - name: Build
run: |
# shellcheck disable=SC2001
# (script goes here) It would be nice if the existing format for shellcheck comments were supported in addition to any new formats. Edit: actually never mind; I've found that the " |
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):
The text was updated successfully, but these errors were encountered: