about summary refs log tree commit diff
path: root/eslint/avoid-unwrapped-text.js
Commit message (Collapse)AuthorAgeFilesLines
* Enforce that text is wrapped in <Text>, remaining cases (#3421)dan2024-04-051-5/+189
| | | | | | | | | | | | | | | | | | | | | * Toggle.Button -> Toggle.ButtonWithText * Simplify Prompt.Cancel/Action * Move lines down for better diff * Remove ButtonWithText * Simplify types * Enforce Button/ButtonText nesting * Add suggested wrapper in linter error * Check <Trans> ancestry too * Also check literals * Rm ts-ignore
* Enforce Text suffix for Text-rendering components (#3407)dan2024-04-041-1/+37
| | | | | | | | | | | * Rm unused * Add Text suffix to Title/Description * Add Text suffix to text components * Add Text suffix to props * Validate Text components returns
* Lint against strings without wrapping <Text> (#3398)dan2024-04-041-0/+111
* Add a rudimentary rule * Get the rule passing * Support special-casing text props * More tests