Skip to content
Myr

Lint fixes for latest rules

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by John Gee · committed by Abe Tomoaki · parent 76d3d11 · Browse files · 1 file+5 added−5 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+5 added−5 removed

  • other:+5 added−5 removed

1 file+5 added−5 removed

modified:typings/index.test-d.ts+5 added-5 removed
276 unmodified lines
277expectType<commander.Command>(program.executableDir(__dirname));278expectType<string>(program.executableDir());279280// outputHelp281// eslint-disable-next-line @typescript-eslint/no-invalid-void-type281// eslint-disable-next-line @typescript-eslint/no-invalid-void-type, @typescript-eslint/no-confusing-void-expression282expectType<void>(program.outputHelp());283// eslint-disable-next-line @typescript-eslint/no-invalid-void-type283// eslint-disable-next-line @typescript-eslint/no-invalid-void-type, @typescript-eslint/no-confusing-void-expression284expectType<void>(program.outputHelp((str: string) => { return str; }));285// eslint-disable-next-line @typescript-eslint/no-invalid-void-type285// eslint-disable-next-line @typescript-eslint/no-invalid-void-type, @typescript-eslint/no-confusing-void-expression286expectType<void>(program.outputHelp({ error: true }));287288// help289expectType<never>(program.help());
63 unmodified lines
353expectType<commander.Command>(program.configureOutput({ }));354expectType<commander.OutputConfiguration>(program.configureOutput());355356expectType<commander.Command>(program.configureOutput({357 writeOut: (str: string) => console.log(str),358 writeErr: (str: string) => console.error(str),357 writeOut: (str: string) => { console.log(str); },358 writeErr: (str: string) => { console.error(str); },359 getOutHelpWidth: () => 80,360 getErrHelpWidth: () => 80,361 outputError: (str: string, write: (str: string) => void) => { write(str); }362}));
119 unmodified lines