Skip to content

Support ESMΒ #504

Open
Open
@nirtamir2

Description

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!

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