Open
Description
Library
React Components / v9 (@fluentui/react-components)
Describe the feature that you would like added
Add a new lint rule to enforce the style hook API contract of:
useComponentStyle(state: ComponentState) => ComponentState
That is, that all style hooks take in ComponentState
and also return ComponentState
.
Have you discussed this feature with our team
Additional context
This is a follow up to #30349
Validations
- Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
Priority
Normal