Use shellcheck
When you start to use shellcheck you might need to find information about rules fast.
All rules are documented in the shellcheck Wiki, like so.
https://www.shellcheck.net/wiki/SC2215
So when you know your rule key, SC2215 in the above example.
You can just exchange the key on the above URL and get the proper documentation.