code: function locationSort({ location: locA }, { location: locB }) {
    if (locA.line === locB.line) {
      return locA.col - locB.col;
    }
    return locA.line - locB.line;
  }
docs: @typedef LintFileResult
  @extends {Linter.LintStreamResult}
  @type {Object}
  @property {Linter.LintFileContext} context
  @memberof Linter
   
  Callback invoked when a {@link Rule} finds a problem
  
  @callback OnErrorCallback
  @param {string} message
  @param {LocationInfo} location