lintFile(path) {
    let syntax = this._extractSyntax(path);
    return this._readFile(path).then((string) => {
      return this.lintString(string, {syntax: syntax, filename: path});
    });
  }
Lints a single file.

@param {String} path
@returns {Promise}