Skip to content

[RN] Make yarn the source of truth for JS lint/format - #57784

Draft
mattcarrollcode wants to merge 1 commit into
mainfrom
rn-yarn-lint
Draft

[RN] Make yarn the source of truth for JS lint/format#57784
mattcarrollcode wants to merge 1 commit into
mainfrom
rn-yarn-lint

Conversation

@mattcarrollcode

Copy link
Copy Markdown

Summary

Point synced JavaScript formatting and linting at the repository's own Prettier +
ESLint so CI is the source of truth: add yarn f (Prettier), expand the Prettier
globs to all JS-family extensions, and make the CI ESLint step propagate its exit
status instead of swallowing it.

Changelog

[Internal]

Test Plan

yarn lint, yarn format-check, and yarn f run from the repo root; the GitHub
lint job runs both on this PR.

Changelog: [Internal]

## Summary
Point synced JavaScript formatting and linting at the repository's own Prettier +
ESLint so CI is the source of truth: add `yarn f` (Prettier), expand the Prettier
globs to all JS-family extensions, and make the CI ESLint step propagate its exit
status instead of swallowing it.

## Changelog
[Internal]

## Test Plan
`yarn lint`, `yarn format-check`, and `yarn f` run from the repo root; the GitHub
`lint` job runs both on this PR.

Changelog: [Internal]
@meta-cla meta-cla 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 Aug 1, 2026
@facebook-github-tools facebook-github-tools Bot added p: Facebook Partner: Facebook Partner labels Aug 1, 2026
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. p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant