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

docs: lint JS snippets in Markdown and HTML files too #32096

Open
XhmikosR opened this issue Nov 9, 2020 · 2 comments
Open

docs: lint JS snippets in Markdown and HTML files too #32096

XhmikosR opened this issue Nov 9, 2020 · 2 comments

Comments

@XhmikosR
Copy link
Member

XhmikosR commented Nov 9, 2020

No description provided.

@rohit2sharma95
Copy link
Collaborator

There is an eslint plugin for markdown files though:
https://github.com/eslint/eslint-plugin-markdown

But it only lints fenced code blocks in markdown files.

@XhmikosR
Copy link
Member Author

XhmikosR commented Nov 9, 2020

That's what I had in mind too :)

Feel free to make a PR if you get it to work; linting md files is better than nothing and now we do use fenced code blocks for most of the things apart from examples.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants