code: function requirePaddingFor(node) {
        switch (node.type) {
          case 'BlockStatement':
            return options.blocks;
  
          case 'SwitchStatement':
            return options.switches;
  
          case 'ClassBody':
            return options.classes;
  
          /* istanbul ignore next */
          default:
            throw new Error('unreachable');
        }
      }
docs: Checks if a node should be padded, according to the rule config.
  @param {ASTNode} node The AST node to check.
  @returns {boolean} True if the node should be padded, false otherwise.