[eslint-plugin] Better parsing to correctly validate various values
Open
bug
good first issue
- Dominant language
- JavaScript
- Stars
- 10.3k
- Forks
- 481
- Avg merge
- 3d 8h
- Merged PRs (30d)
- 13
Description
### Describe the issue
Stylex ESLint disallows `oklch(0 0 0)` or following color formats.
### Expected behavior
Stylex ESLint allows all color formats supported by CSS Color Module Level 4 or higher.
### Steps to reproduce
1. Create a style with color property
2. Use value outside the type, for example `oklch(0 0 0)`.
3. Try linter
### Test case
```tsx
const styles = stylex.create({
example: {
color: "oklch(0 0 0)",
},
});
```
### Additional comments
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.