eslint-plugin-fbt #327
Replies: 2 comments 6 replies
-
Hi @alexandernanberg! 👋 Thank you very much for your initiative, great job! 👍 I am giving it a spin in our monorepo (adeira/universe#3784) and I will let you know if I encounter some issues. 😎 |
Beta Was this translation helpful? Give feedback.
-
Nice work @alexandernanberg! Here are some of the eslint rules we have implemented internally:
They've not been exported to the OSS community yet but if you're interested to help porting them, we could share their "raw" implementation. On another note, I had a quick look at your implementation and I should let you know that there are two ways to main "fbt API entry points".
These are defined in |
Beta Was this translation helpful? Give feedback.
-
Hey, I've created eslint-plugin-fbt. It only has 1 rule for now (to catch strings that aren't wrapped in
<fbt>
), but it has already been quite useful in my projects so I thought I could share it here.I plan on adding more useful rules in the future, so let me know if you have any suggestions!
Beta Was this translation helpful? Give feedback.
All reactions