pub fn executable_linter(environment: &[(OsString, OsString)]) -> ProcessLinterExpand description
What:
The linter of the running executable:
LINTER_LIMITS and the system’s temporary
directory,
made absolute.
std::path::absolute resolves a relative directory
against the current one without touching the filesystem.
Why:
The linter runs from the top level,
so a relative configuration path would name
another file there.
In TS you’d write (pseudocode):
const executableLinter = (environment) => processLinter(environment, LINTER_LIMITS, resolve(tmpdir()));