What is ShellCheck?
ShellCheck is an open-source static analysis tool for bash and sh scripts. It detects common mistakes — unquoted variables, incorrect conditionals, portability issues, and deprecated syntax — before they cause failures in production. It is available as a CLI tool and integrates with most editors.