lintDirectory(path) {
    let files = this._getAcceptableFilesFromDirectory(path);
    let promises = files.map((file) => this.lintFile(file));
    return Promise.all(promises);
  }
Lints all files in a directory.

@param {String} path
@returns {Promise}