mdx-js / eslint-mdx

ESLint Parser/Plugin for MDX
https://npmjs.org/eslint-plugin-mdx
MIT License
264 stars 30 forks source link

/README.md 1:4 error Parsing error: Missing semicolon. (1:4) #378

Closed jlarmstrongiv closed 2 years ago

jlarmstrongiv commented 2 years ago

Initial checklist

Affected packages and versions

Both the current 1.17.0 and 2.0.0-next.1

Link to runnable example

No response

Steps to reproduce

Can email example upon request

Expected behavior

Linting works without crashing!

Actual behavior

This is a markdown file, but it treats it like mdx.

/Users/user/Desktop/next-app/README.md
  1:4  error  Parsing error: Missing semicolon. (1:4)

✖ 1 problem (1 error, 0 warnings)

Runtime

Node v14

Package manager

npm v8

OS

macOS

Build and bundle tools

webpack, esbuild, Next.js

JounQin commented 2 years ago

Please provide a correct reproduction.

jlarmstrongiv commented 2 years ago

@JounQin Can you provide an email to send it to?

JounQin commented 2 years ago

@jlarmstrongiv Please use GitHub repository for a minimal reproduction, we don't want a complicated one.

jlarmstrongiv commented 2 years ago

Sorry, I am unable to provide a reproduction at this time.

JounQin commented 2 years ago

@jlarmstrongiv See https://github.com/mdx-js/eslint-mdx#notice

jlarmstrongiv commented 2 years ago

Was able to make a reproduction for most monorepo errors after returning home https://github.com/jlarmstrongiv/eslint-mdx-reproduction but your link got me on the right track and fixed it 👍 unfortunately, I could never get it to work with keystonejs