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

plugin is not working here [problem and workaround identified inside this issue] #227

Closed
iambumblehead opened this issue Nov 13, 2023 · 3 comments

Comments

@iambumblehead
Copy link

Hello,

eslint-plugin-markdown seems to have stop working for my project about a year ago, here. I tried fiddling with the .eslintrc.json but haven't succeeded in getting the plugin to lint the README.md for the project.

The project .eslintrc.json is here and includes "plugin:markdown/recommended" in the "extends" list,

  "extends": [
    "eslint:recommended",
    "plugin:markdown/recommended"    
  ],  

Any suggestions or advice are welcome.

@iambumblehead
Copy link
Author

iambumblehead commented Nov 13, 2023

I have found that the plugin works when I make the following change to the README; replace "``` javascript" with "```js" (remove the space and use "js" rather than "javascript")

Emacs' markdown plugin formats the codeblock as above, with the extra space character and using the full "javascript" name and I don't know which is correct, but I can update my README to the format needed by this plugin.

@iambumblehead
Copy link
Author

This PR resolved the issue for the project https://github.com/iambumblehead/esmock/pull/275/files

@iambumblehead iambumblehead changed the title plugin is not working here, what am I doing wrong? plugin is not working here [problem and workaround identified inside this issue] Nov 13, 2023
@nzakas
Copy link
Member

nzakas commented Nov 17, 2023

Thanks for the update.

@nzakas nzakas closed this as not planned Won't fix, can't repro, duplicate, stale Nov 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

2 participants