Related Linear issue here. Adds a task for handling *.sh staged files and runs the same ShellCheck command we use in Buildkite/GitHub Actions. Because this we're running ShellCheck in the pre-commit stage, issues with shell scripts will be surfaced to developers earlier, which is ideal.
Depends on D4771 because the user needs ShellCheck installed locally.
Also depends on D4770 (related issue: ENG-1568) which adds ShellCheck to the Nix shell for developers using the Nix shell.