-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Open
Description
For new checks and feature suggestions
- https://www.shellcheck.net/ (i.e. the latest commit) currently gives no useful warnings about this
- I searched through https://github.com/koalaman/shellcheck/issues and didn't find anything related
Here's a snippet or screenshot that shows a potential problem:
#!/bin/bash
# shellcheck disable=SC1000
a="WAT"
echo "${a}"Here's what shellcheck currently says:
No warning at all.
Here's what I wanted to see:
A warning for SC9999, useless-suppression like in pylint:
Warning SC9999: useless-suppression
The suppression for SC1000 at line 3 is useless:
# shellcheck disable=SC1000
No violation of SC1000 is reported if you remove it.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels