react-native/packages/babel-plugin-codegen
Tim Yung c9ea05552f RN: Fix lint/sort-imports Errors (#47109)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/47109

Fixes the `lint/sort-imports` errors that are now surfaced after fixing the lint configuration.

For a couple files, I added lint suppressions instead because the unsorted import ordering is important due to interleaved calls with side effects.

Changelog:
[Internal]

Reviewed By: GijsWeterings

Differential Revision: D64569485

fbshipit-source-id: 26415d792e2b9efe08c05d1436f723faae549882
2024-10-18 04:07:02 -07:00
..
__test_fixtures__
__tests__ Enable lint/sort-imports everywhere (#41334) 2023-11-06 12:59:38 -08:00
index.js RN: Fix lint/sort-imports Errors (#47109) 2024-10-18 04:07:02 -07:00
package.json Fix source mapping for codegenNativeCommands (#46452) 2024-09-16 05:22:38 -07:00
README.md

@react-native/babel-plugin-codegen

Version

Installation

yarn add --dev @babel/core @react-native/babel-plugin-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:

  1. yarn to install the dependencies. You just need to run this once
  2. yarn jest packages/babel-plugin-codegen.