Skip to content
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

New rules for directives, math, mdx, footnote related #315

Open
4 tasks done
wooorm opened this issue Apr 7, 2024 · 3 comments
Open
4 tasks done

New rules for directives, math, mdx, footnote related #315

wooorm opened this issue Apr 7, 2024 · 3 comments
Labels
🤞 phase/open Post is being triaged manually

Comments

@wooorm
Copy link
Member

wooorm commented Apr 7, 2024

Initial checklist

Problem

There’s a couple syntax extensions we’re pushing and generally supporting across the ecosystem. Some lint rules for those will help.

Solution

  • jsx: look through eslint rules?
  • lazy lines in footnote definitions

Alternatives

@github-actions github-actions bot added 👋 phase/new Post is being triaged automatically 🤞 phase/open Post is being triaged manually and removed 👋 phase/new Post is being triaged automatically labels Apr 7, 2024
@remcohaszing
Copy link
Member

Sure, rules may apply to extension syntax.

I don’t think we should copy ESLint rules. People can use eslint-plugin-mdx to run ESLint rules on MDX files.

@wooorm
Copy link
Member Author

wooorm commented Apr 8, 2024

But there are things that eslint cannot do because it doesn’t know about markdown. It probably has some JSX rules that relate to JS. That we can have here as a JSX-relating-to-markdown rule.

@remcohaszing
Copy link
Member

Ah yes, that context was missing before. JSX-relating-to-markdown rules make sense.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🤞 phase/open Post is being triaged manually
Development

No branches or pull requests

2 participants