Shellcheck is a cli that catches common and hardcore bash script writing errors. It works like a linter where you run the tool on a file and it points errors to stdout.
To install in Neovim you install the bash-language-server after installing shellcheck normally