Lint against strings without wrapping <Text> (#3398)

* Add a rudimentary rule

* Get the rule passing

* Support special-casing text props

* More tests
This commit is contained in:
dan 2024-04-04 17:32:50 +01:00 committed by GitHub
parent 8e393b16f5
commit 4cc57f4bfd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 579 additions and 0 deletions

View file

@ -236,6 +236,7 @@
"babel-preset-expo": "^10.0.0",
"detox": "^20.14.8",
"eslint": "^8.19.0",
"eslint-plugin-bsky-internal": "link:./eslint",
"eslint-plugin-detox": "^1.0.0",
"eslint-plugin-ft-flow": "^2.0.3",
"eslint-plugin-lingui": "^0.2.0",