Skip to content

Create lint rule preventing uses of CommonJS exports#49079

Closed
coado wants to merge 1 commit into
facebook:mainfrom
coado:export-D68951212
Closed

Create lint rule preventing uses of CommonJS exports#49079
coado wants to merge 1 commit into
facebook:mainfrom
coado:export-D68951212

Conversation

@coado
Copy link
Copy Markdown
Contributor

@coado coado commented Jan 31, 2025

Summary:
The rule disallows using CommonJS exports in react-native and assets/registry package.

Changelog:

[Internal] - Created a lint rule that prevents using CommonJS exports

Differential Revision: D68951212

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jan 31, 2025
@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D68951212

Summary:

The rule disallows using CommonJS exports in react-native and assets/registry package.


## Changelog:
[Internal] - Created a lint rule that prevents using CommonJS exports

Reviewed By: huntie

Differential Revision: D68951212
@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D68951212

@react-native-bot
Copy link
Copy Markdown
Collaborator

This pull request was successfully merged by @coado in 5c21537

When will my fix make it into a release? | How to file a pick request?

@react-native-bot react-native-bot added the Merged This PR has been merged. label Jan 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged This PR has been merged. p: Facebook Partner: Facebook p: Software Mansion Partner: Software Mansion Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants