ESLint should fail when using background or border property
Open
bug
- Dominant language
- JavaScript
- Stars
- 10.3k
- Forks
- 481
- Avg merge
- 3d 8h
- Merged PRs (30d)
- 13
Description
### Describe the issue
ESLint plugin doesn't warn about using `background` or `border`.
### Expected behavior
It should warn
### Steps to reproduce
Just add `background` or `border` as a property to `stylex.props`
### Test case
_No response_
### Additional comments
_No response_
Contributor guide
Research direction
Start by locating the ESLint plugin rule that checks properties passed to stylex.props, then reproduce the issue with background and border. Done means both properties produce the expected ESLint warning; add or update coverage if the plugin's existing tests are found nearby.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- eslint, javascript
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100