mdx-js / eslint-mdx

ESLint Parser/Plugin for MDX
https://npmjs.org/eslint-plugin-mdx
MIT License
259 stars 29 forks source link

ESlint: Error while loading rule #421

Closed rexkenley closed 1 year ago

rexkenley commented 1 year ago

Initial checklist

Affected packages and versions

2.0.2

Link to runnable example

No response

Steps to reproduce

  1. Clone the repo https://github.com/rexkenley/next-storybook
  2. Load any *.mdx file in vs-code
  3. You should get this error image

Expected behavior

It should not complain about @typescript-eslint rules since I have an override for mdx

image

Actual behavior

Displays this error

image

Runtime

Node v16

Package manager

npm v8

OS

Windows

Build and bundle tools

webpack

JounQin commented 1 year ago

Duplicate of https://github.com/mdx-js/eslint-mdx/issues/251#issuecomment-963837780

Always use overrides for every kind of files.