Skip to content

Support ESM #504

Description

@nirtamir2

Hi!
Thank you for creating this tool!
I would like to create ESM only ESLint plugin, and this rule tries to require stuff inside so it's not compatible
I would like it to work with ESM.

❯ pnpm run update:eslint-docs

> eslint-doc-generator

require() of ES Module ***/lib/index.mjs not supported.
Instead change the require of ***/lib/index.mjs to a dynamic import() which is available in all CommonJS modules.

Thanks!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions