-
-
Notifications
You must be signed in to change notification settings - Fork 34
Open
Labels
help wanted 🙏This could use your insight or helpThis could use your insight or help🐛 type/bugThis is a problemThis is a problem🙆 yes/confirmedThis is confirmed and ready to be worked onThis is confirmed and ready to be worked on
Description
Initial checklist
- I read the support docs
- I read the contributing guide
- I agree to follow the code of conduct
- I searched issues and couldn’t find anything (or linked relevant results below)
Affected packages and versions
eslint-plugin-mdx@3.1.5
Link to runnable example
No response
Steps to reproduce
- Set up
eslint-plugin-mdx@3.1.5using the recommended config - Lint the following file
index.mdx
Before{' '}afterObserve that a problem is reported on the {' '}:
Expected an assignment or function call and instead saw an expression. eslint no-unused-expressions
Possibly related
Expected behavior
No problem is reported
I'm assuming this should be accepted syntax because the MDX Playground shows that the {' '} will result in a space:
Actual behavior
Problem is reported, as above
Runtime
No response
Package manager
No response
OS
macOS
Build and bundle tools
No response
lishaduck and PaulRBerg
Metadata
Metadata
Assignees
Labels
help wanted 🙏This could use your insight or helpThis could use your insight or help🐛 type/bugThis is a problemThis is a problem🙆 yes/confirmedThis is confirmed and ready to be worked onThis is confirmed and ready to be worked on

