eslint-mdx
eslint-mdx copied to clipboard
meta: how can we support `eslint-define-config` better?
Initial checklist
- [X] I read the support docs
- [X] I read the contributing guide
- [X] I agree to follow the code of conduct
- [X] I searched issues and couldn’t find anything (or linked relevant results below)
Problem
mdx support was added at https://github.com/eslint-types/eslint-define-config/pull/124, but somehow it's removed later?
I hope the end users can use eslint-plugin-mdx with typings support easily.
cc @Shinigami92
Solution
I'm not quite familiar with eslint-define-config, so I'd prefer to listening from experienced @Shinigami92
Alternatives
N/A
There needs to be a file that can be imported via ref like /// <reference types="eslint-plugin-mdx/define-config-support" />
In that file it should look like e.g. https://github.com/eslint-types/define-config-plugin-types/blob/main/types/import/index.d.ts
Can that be supported from eslint-plugin-mdx's side natively?
Can that be supported from
eslint-plugin-mdx's side natively?
YES, thats why these global augmentations are there.
Would you to raise a PR here? I'd to get some experiences here and then use it on eslint-pligin-i later. ❤️
Would you to raise a PR here? I'd to get some experiences here and then use it on
eslint-pligin-ilater. ❤️
Yeah, I can try 👍 Not sure when, but I will try to set it on my list for this week
It's not in emergency.