mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
ad652cf99c
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/51880 Updates the `sort-imports` lint rule. The main change is that it enforces newlines after the last import statement. Changelog: [Internal] Reviewed By: SamChou19815 Differential Revision: D76149902 fbshipit-source-id: 928871655c5de0613b18334d6fc0d71b3a971a18
@react-native/codegen
Installation
yarn add --dev @react-native/codegen
Note: We're using yarn to install deps. Feel free to change commands to use npm 3+ and npx if you like
Testing
To run the tests in this package, run the following commands from the React Native root folder:
yarnto install the dependencies. You just need to run this onceyarn jest packages/react-native-codegen.