There's `shellcheck`, as part of Syntastic, for vim. I find it quite useful. You could call it a Bash linter.
On the other hand, I wonder if the web page keeps track and could offer "best of bash mistakes".
"ShellCheck is...
* GPLv3: free as in freedom
* available on GitHub (as is this website)
* already packaged for your distro or package manager
* supported as an integrated linter in major editors
* available in CodeClimate, Codacy and CodeFactor to auto-check your GitHub repo
* written in Haskell, if you're into that sort of thing. "
Sometimes you are not in your computer, the script does not have private information (i.e. open source or something you don't care to be public). Sometimes the website is simply more convenient.
*edit: formatting
But if you're still using Windows, then yes, I agree.