create(context) {
    // ignore non-modules
    if (sourceType(context) !== 'module') {
      return {};
    }

    return {
      Program(ast) {
        if (!isModule(ast)) {
          context.report({
            node: ast,
            message: 'This module could be parsed as a valid script.',
          });
        }
      },
    };

  }
@fileOverview Report modules that could parse incorrectly as scripts.
@author Ben Mosher