pub fn process_linter(
environment: &[(OsString, OsString)],
limits: ChildLimits,
scratch: PathBuf,
) -> ProcessLinterExpand description
What:
The linter for an invocation with this environment,
bounds and scratch directory.
&[(OsString, OsString)] borrows the environment.
Why:
The executable passes LINTER_LIMITS and the system’s temporary directory;
tests
pass small bounds and a fixture.
In TS you’d write (pseudocode):
const processLinter = (environment, limits, scratch) => new ProcessLinter(environment, limits, scratch);