`lint-staged` tests against submodules. `exec-staged` needs defined behavior for this situation. See also `--submodule=short`, used in the `diff` command, and `submodule.recurse=false`, which `lint-staged` applies globally.