From 1bb213f443c6dc0eff1792967feb08b0aa59e555 Mon Sep 17 00:00:00 2001 From: Jacob Greenfield Date: Sun, 2 Dec 2018 14:50:04 -0500 Subject: [PATCH] Make argument to getFormatter optional See here: https://eslint.org/docs/developer-guide/nodejs-api#clienginegetformatter --- types/eslint/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/eslint/index.d.ts b/types/eslint/index.d.ts index 451477af40..01f39ee83e 100644 --- a/types/eslint/index.d.ts +++ b/types/eslint/index.d.ts @@ -471,7 +471,7 @@ export class CLIEngine { isPathIgnored(filePath: string): boolean; - getFormatter(format: string): CLIEngine.Formatter; + getFormatter(format?: string): CLIEngine.Formatter; getRules(): Map;