-
-
Notifications
You must be signed in to change notification settings - Fork 35
Open
Labels
good first issue 👋This may be a great place to get started!This may be a great place to get started!help wanted 🙏This could use your insight or helpThis could use your insight or help🐛 type/bugThis is a problemThis is a problem👍 phase/yesPost is accepted and can be worked onPost is accepted and can be worked on🙆 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 discussions and couldn’t find anything (or linked relevant results below)
Affected package
Steps to reproduce
Suppose you have some code like this:
### {props.foo}
{props.foo} is a foo.
### {props.bar}
{props.bar} is a bar.
Actual behavior
ESLint will throw the following errors:
1:6 error 'props' is not defined no-undef
3:2 error 'props' is not defined no-undef
5:6 error 'props' is not defined no-undef
7:2 error 'props' is not defined no-undef
Expected behavior
The code should compile just fine or there should be a way to let ESLint know that those are props
Note: I've asked this question here, and @remcohaszing suggested that this might be a bug.
Runtime
node v22.14.0
Package manager
bun
Operating system
Build and bundle tools
Docusaurus
JounQin
Metadata
Metadata
Assignees
Labels
good first issue 👋This may be a great place to get started!This may be a great place to get started!help wanted 🙏This could use your insight or helpThis could use your insight or help🐛 type/bugThis is a problemThis is a problem👍 phase/yesPost is accepted and can be worked onPost is accepted and can be worked on🙆 yes/confirmedThis is confirmed and ready to be worked onThis is confirmed and ready to be worked on