lib/rules/space-in-parens.js
function getExceptions() {
      const openers = [];
      const closers = [];

      if ( options.braceException ) {
        openers.push('{');
        closers.push('}');
      }

      if ( options.bracketException ) {
        openers.push('[');
        closers.push(']');
      }

      if ( options.parenException ) {
        openers.push('(');
        closers.push(')');
      }

      if ( options.empty ) {
        openers.push(')');
        closers.push('(');
      }

      return {
        openers,
        closers
      };
    }
function getExceptions() {
      const openers = [];
      const closers = [];

      if ( options.braceException ) {
        openers.push('{');
        closers.push('}');
      }

      if ( options.bracketException ) {
        openers.push('[');
        closers.push(']');
      }

      if ( options.parenException ) {
        openers.push('(');
        closers.push(')');
      }

      if ( options.empty ) {
        openers.push(')');
        closers.push('(');
      }

      return {
        openers,
        closers
      };
    }
Produces an object with the opener and closer exception values
@param {Object} opts The exception options
@returns {Object} `openers` and `closers` exception values
@private