Is there an equivalent rule to react/jsx-no-literals, or why do we not need it? #4999
Replies: 6 comments 4 replies
This comment has been hidden.
This comment has been hidden.
-
|
Given that we've closed #3 in favour of rule suggestion discussions, I'm reopening this one :) |
Beta Was this translation helpful? Give feedback.
-
|
Just migrated my team from ESLint/Prettier to Biome v2, but we still need ESLint to enforce
|
Beta Was this translation helpful? Give feedback.
-
|
Just switched from ESLint/Prettier to Biome v2 for our company and this rule is missed dearly. |
Beta Was this translation helpful? Give feedback.
-
|
Closing #724 |
Beta Was this translation helpful? Give feedback.
-
|
I think this should be reopened since #724 was closed, @ematipico. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
We try to ensure all our displayed text is handled by
react-intlin order to prepare us for eventual internationalization. Moving to biome, there does not seem to be an equivalent toreact/jsx-no-literals. As a new biome user I'm not sure I'm ready to write a plugin to do this, but perhaps someone else has already faced this one? Or has a reason why such a rule is unnecessary?Beta Was this translation helpful? Give feedback.
All reactions