diff --git a/src/Linter.js b/src/Linter.js index eea5f5a..eea59d8 100644 --- a/src/Linter.js +++ b/src/Linter.js @@ -66,6 +66,12 @@ export default class Linter { } const results = this.parseResults(res); + + // Do not analyze if there are no results or eslint config + if (!results) { + return; + } + const messages = options.formatter(results); this.reportOutput(results, messages);