I don't know how or if you'd like to refer to this but I wrote a simple script to enumerate all the codes to make them easily searchable.

nicerobot
2020-08-09 16:20:45 -07:00
parent 8cbf475546
commit 765905441b

@@ -3,6 +3,7 @@
Each individual ShellCheck issue has its own wiki page, like these: [[SC1000]], [[SC1001]], ..., [[SC2236]]. Each individual ShellCheck issue has its own wiki page, like these: [[SC1000]], [[SC1001]], ..., [[SC2236]].
GitHub Wiki does not support enumerating them on a page, so to find the one you're interested in, you can do any of the following: GitHub Wiki does not support enumerating them on a page, so to find the one you're interested in, you can do any of the following:
* They are [enumerated in this gist](https://gist.github.com/nicerobot/53cee11ee0abbdc997661e65b348f375#file-_shellcheck-md).
* Use the "> Pages" menu on the right (desktop) or below (mobile) and search for the error code, e.g. [[SC2086]]. * Use the "> Pages" menu on the right (desktop) or below (mobile) and search for the error code, e.g. [[SC2086]].
* Visit an [arbitrary issue](SC2086) and edit the URL in your browser. * Visit an [arbitrary issue](SC2086) and edit the URL in your browser.
* Trigger the issue on [shellcheck.net](https://www.shellcheck.net) and click/tap the issue id. * Trigger the issue on [shellcheck.net](https://www.shellcheck.net) and click/tap the issue id.