mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
a68754f9b2
Summary: Our NativeModule spec parser parses the TurboModuleRegistry.get<Spec>(...) calls to figure out what the name of the NativeModule is. The parser assumes the argument is a string literal. Therefore, we should lint to validate this case. Changelog: [Internal] Reviewed By: fkgozali Differential Revision: D24500412 fbshipit-source-id: 5aa5e9255db5a2e0cd86d6dd96e6787caa673fc4