getLintStagedExecutor =
  (cwd) =>
  (params = [], options) =>
    spawn('node', [lintStagedBin, `--cwd=${cwd}`, ...params], options)
@param {string} cwd
@returns {(params?: string[], options?: import('nano-spawn').Options) => import('nano-spawn').Subprocess}