code: function isValid(left, right) {
              return (
                  !util.isTokenOnSameLine(left, right) ||
                  sourceCode.isSpaceBetweenTokens(left, right) === always
              );
          }
docs: Checks whether or not:
  - given tokens are on same line.
  - there is/isn't a space between given tokens.
  @param {Token} left - A token to check.
  @param {Token} right - The token which is next to `left`.
  @returns {boolean}
  When the option is `"always"`, `true` if there are one or more spaces between given tokens.
  When the option is `"never"`, `true` if there are not any spaces between given tokens.
  If given tokens are not on same line, it's always `true`.