Skip to content

eslint-plugin-mdx won't work along with eslint-plugin-markdown #259

@chenxsan

Description

@chenxsan

Subject of the issue

I have eslint-plugin-markdown enabled in this project with processor option enabled:

    {
      files: ['**/*.mdx'],
      processor: 'markdown/markdown',
    },

Now when I enable eslint-plugin-mdx:

    {
      files: ['**/*.mdx'],
      processor: 'markdown/markdown',
      extends: ['plugin:mdx/recommended'],
    },

eslint won't report any errors.

Only when I remove processor will `eslint report the lint problems:

image

Your environment

  • OS:
  • Packages:
  • Env:

Steps to reproduce

  1. clone code from https://github.com/webpack/webpack.js.org/pull/4326
  2. run yarn
  3. run yarn lint:js

Expected behaviour

eslint-plugin-mdx should work fine along with eslint-plugin-markdown.

Actual behaviour

Metadata

Metadata

Assignees

No one assigned

    Labels

    externalknown issue from external, can't do much by ourselves👀 no/externalThis makes more sense somewhere else🙆 yes/confirmedThis is confirmed and ready to be worked on🦋 type/enhancementThis is great to have

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions