-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[feat] support linting markdown syntaxes like eslint-plugin-mdx
via remark-lint
#179
Comments
Can you describe the problem that you're trying to solve in detail? |
|
So right now you have two tools, ESLint that lints JS and |
Yes, it does. But as @wooorm suggested at mdx-js/eslint-mdx#283 (comment), he thinks linting markdown content should belong |
Here is a related plugin wants this function too. |
@btmills Any idea? |
Just in my own preference is, keep the status quo. Use I prefer using |
ESLint is much beyond for js syntaxes, it'll be the universal linter for all languages. And this feature can be optional.
|
I was thinking about I just want to migrate it from |
It's an "easy way or right way" problem. What if some people don't want to use |
And this package is using |
It's not about package size, some people just don't like |
My selfish opinion is "one plugin do one thing" might solve these problem. for reference only. |
Because A standalone |
I'm not talking about it too. And I've said several times that And this feature can be optional. Just a new option/setting or just a new rule is needed to specific whether to enable
That's OK, but IMO markdown syntaxes is the thing for |
Thanks for the discussion above. This plugin has always focused on linting code in fenced code blocks. The back story is that I built it to exercise ESLint's processor API. Going beyond that to lint portions other than fenced code blocks would be a significant expansion of scope. That's a wonderful opportunity for other plugins to offer users the choice of exactly how they want to lint their Markdown files. This plugin doesn't need to be a single all-encompassing solution for Markdown linting. |
That's OK. |
Is it now 2 years later and is there still not a great option for eslint markdown plugin other than the mdx plugin (which has some issues)? It is a bummer that the plugin named |
@GitMurf If you have any issue, you should post a new issue with reproduction instead of talking about it outside so that as the plugin author, me, doesn't know it at all? |
context: mdx-js/eslint-mdx#283 (comment)
related codes:
https://github.com/mdx-js/eslint-mdx/blob/master/packages/eslint-plugin-mdx/src/rules/remark.ts
https://github.com/mdx-js/eslint-mdx/blob/master/packages/eslint-plugin-mdx/src/processors/remark.ts
The text was updated successfully, but these errors were encountered: