function needGroupSingleLineProperties(currentProperty, nextProperty, option) {
  const isSingleCurrentProperty =
    currentProperty.loc.start.line === currentProperty.loc.end.line
  const isSingleNextProperty =
    nextProperty.loc.start.line === nextProperty.loc.end.line

  return isSingleCurrentProperty && isSingleNextProperty && option
}
@param {(Property | SpreadElement)} currentProperty
@param {(Property | SpreadElement)} nextProperty
@param {boolean} option
@returns {boolean}
@private