-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Feature request: shellcheck -O --override-ignores #1417
Comments
This idea does not appear to be gaining traction so I shall elaborate.
Now a script can be fully checked with and without inlines "How does |
This will also allow running in a CI environment with a guaranteed baseline. |
I like this feature because, at least to me, ShellCheck (and most other static analysis / linters) serve two audiences:
Without an "ignore all ignores", you only really get a guarantee on the first. |
I'd argue that even the first isn't guaranteed, because it's certainly possible for authors to change their code into a b0rken state that deserve the same warnings, but are now silenced by stale Obsolete directive comments ("Oi Shellcheck, shaddap already!") are more dangerous than obsolete descriptive comments ("I'm doing this in an unconventional way because XYZ"). |
Signed-off-by: Richard Bonhomme <tincanteksup@gmail.com>
I have waited long enough ! To my mind, this seems to be a "no brainer" I can see no logical (or otherwise) argument against it. |
I was hoping Suggestion:
etc. |
I'm on board, the backlog is just huge |
I may be wrong but I believe this FR has been fulfilled and probably exceeded! I use I suppose that Also, I think that coding a |
Over ride all embedded ignores.
Obviously, this can be done by other methods but an option seems appropriate.
(The name
-O --override-ignores
is only an example)The text was updated successfully, but these errors were encountered: