Respect directives in `.shellcheckrc`
See original GitHub issueIn my project I have a .shellcheckrc next to my .sh files, as defined in https://github.com/koalaman/shellcheck/wiki/Ignore
This .shellcheckrc
looks like this:
disable=2086
disable=3006
disable=3010
disable=3018
disable=3043
This means that shellcheck (the cli command) will ignore those codes in any of the files in that directory or below.
However, the VSCode extension only respects the directives in the files themselves. I would hope that the VS Code extension can read the .shellcheckrc file and follow the directives therein, otherwise there is a disconnect between what successfully builds in my project and what files VS Code shows as “green”.
Also funny enough, this extension also “shellchecks” the .shellcheckrc file even though the .shellcheckrc file format is not shell syntax or shell related. I think it would make sense (since this type of file is specific to shellcheck) to have it excluded from checking by default?
Thanks!
Issue Analytics
- State:
- Created 2 years ago
- Comments:6
Makes sense, thank you for the quick reply. I’ll give it a bash (no pun intended).
On Thu, Oct 7, 2021, 7:25 AM Felipe Santos @.***> wrote:
🎉 This issue has been resolved in version 0.18.0 🎉
The release is available on:
Your semantic-release bot 📦🚀