Make argument to getFormatter optional

See here: https://eslint.org/docs/developer-guide/nodejs-api#clienginegetformatter
This commit is contained in:
Jacob Greenfield
2018-12-02 14:50:04 -05:00
committed by GitHub
parent efbcbdebaf
commit 1bb213f443
+1 -1
View File
@@ -471,7 +471,7 @@ export class CLIEngine {
isPathIgnored(filePath: string): boolean;
getFormatter(format: string): CLIEngine.Formatter;
getFormatter(format?: string): CLIEngine.Formatter;
getRules(): Map<string, Rule.RuleModule>;