code: function getOpenBrace(node) {
        if (node.type === 'SwitchStatement') {
          return sourceCode.getTokenBefore(node.cases[0]);
        }
  
        return sourceCode.getFirstToken(node);
      }
docs: Gets the open brace token from a given node.
  @param {ASTNode} node - A BlockStatement or SwitchStatement node from which to get the open brace.
  @returns {Token} The token of the open brace.