facebook / facebook/stylex

[eslint-plugin] textDecorationThickness error reported

Open
#252 5 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
10.3k
Forks
481
Avg merge
3d 8h
Merged PRs (30d)
13

Description

**The problem**
When using the following StyleX code;

```
textDecorationThickness: {
default: '1px',
':hover': 'max(3px, 0.1875rem, 0.12em)'
}
```

`@stylexjs/eslint-plugin` reports `This is not a key that is allowed by stylex @stylexjs/valid-styles` despite the styling being correct and working.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.