code: function checkConditional(node) {
              const nonSpacedConsequesntNode = getFirstNonSpacedToken(node.test, node.consequent, "?");
              const nonSpacedAlternateNode = getFirstNonSpacedToken(node.consequent, node.alternate, ":");
  
              if (nonSpacedConsequesntNode) {
                  report(node, nonSpacedConsequesntNode);
              } else if (nonSpacedAlternateNode) {
                  report(node, nonSpacedAlternateNode);
              }
          }
docs: Check if the node is conditional
  @param {ASTNode} node node to evaluate
  @returns {void}
  @private