Claude
c397920d60
Update ESLint rule tests for flat config format
...
- Update RuleTester to use flat config languageOptions instead of
eslintrc parser format
- Remove duplicate test case that ESLint v9 now detects
- Add Jest globals for test files
2026-01-10 23:04:53 +00:00
dan
46c112edfd
Enforce that text is wrapped in <Text>, remaining cases ( #3421 )
...
* 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
2024-04-05 15:09:35 +01:00
dan
3915bb4316
Enforce Text suffix for Text-rendering components ( #3407 )
...
* Rm unused
* Add Text suffix to Title/Description
* Add Text suffix to text components
* Add Text suffix to props
* Validate Text components returns
2024-04-04 21:34:55 +01:00
dan
4cc57f4bfd
Lint against strings without wrapping <Text> ( #3398 )
...
* Add a rudimentary rule
* Get the rule passing
* Support special-casing text props
* More tests
2024-04-04 17:32:50 +01:00