Skip to content

RN: Prohibit ESLint Warnings#51825

Closed
yungsters wants to merge 2 commits into
react:mainfrom
yungsters:export-D75988059
Closed

RN: Prohibit ESLint Warnings#51825
yungsters wants to merge 2 commits into
react:mainfrom
yungsters:export-D75988059

Conversation

@yungsters

Copy link
Copy Markdown
Contributor

Summary:
Configures yarn lint to fail if there are any ESLint warnings.

Changelog:
[Internal]

Differential Revision: D75988059

@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. p: Facebook Partner: Facebook Partner labels Jun 4, 2025
@facebook-github-bot

Copy link
Copy Markdown
Contributor

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

Summary:
While testing D75988059 with D76047973, I noticed a few opportunities to improve the script used by `yarn lint-ci`:

- The exit code does not currently propagate, meaning `lint-ci` will succeed when it shouldn't.
- The shell script uses some non-idiomatic practices, so this improves it.

Changelog:
[Internal]

Differential Revision: D76049502
yungsters added a commit to yungsters/react-native that referenced this pull request Jun 5, 2025
Summary:

Configures `yarn lint` to fail if there are any ESLint warnings.

Changelog:
[Internal]

Reviewed By: kassens, NickGerleman

Differential Revision: D75988059
Summary:
Pull Request resolved: react#51825

Configures `yarn lint` to fail if there are any ESLint warnings.

Changelog:
[Internal]

Reviewed By: kassens, NickGerleman

Differential Revision: D75988059
@facebook-github-bot

Copy link
Copy Markdown
Contributor

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

@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Jun 5, 2025
@facebook-github-bot

Copy link
Copy Markdown
Contributor

This pull request has been merged in 0df71ea.

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 Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants