create(context) {
    const options = { ...defaults, ...context.options[0] };

    return {
      ExportDefaultDeclaration(node) {
        const def = defs[node.declaration.type];

        // Recognized node type and allowed by configuration,
        //   and has no forbid check, or forbid check return value is truthy
        if (def && !options[def.option] && (!def.forbid || def.forbid(node))) {
          context.report({ node, message: def.message });
        }
      },
    };
  }
@fileoverview Rule to disallow anonymous default exports.
@author Duncan Beevers