old_contents: module.exports = function(context) {
    var regex = /^(describe|it)$/;
  
    return {
      Identifier: function(node) {
        if (node.name === 'only' && regex.test(node.parent.object.name)) {
          context.report(node, node.parent.object.name + '.only not permitted');
        }
      }
    }
  };
  
new_contents: module.exports = {
    meta: {
      docs: {}
    },
  
    create: function(context) {
      var regex = /^(describe|it)$/;
  
      return {
        Identifier: function(node) {
          if (node.name === 'only' && regex.test(node.parent.object.name)) {
            context.report(node, node.parent.object.name + '.only not permitted');
          }
        }
      }
    }
  };
  
subject: Support ESLint 3 rule format