`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.
lint-stagedtests against submodules.exec-stagedneeds defined behavior for this situation.See also
--submodule=short, used in thediffcommand, andsubmodule.recurse=false, whichlint-stagedapplies globally.