Commit 94717c1
committed
[RN] Make yarn the source of truth for JS lint/format
## 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]1 parent c7d62a1 commit 94717c1
2 files changed
Lines changed: 5 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
507 | 507 | | |
508 | 508 | | |
509 | 509 | | |
510 | | - | |
| 510 | + | |
511 | 511 | | |
512 | 512 | | |
513 | 513 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | | - | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
27 | | - | |
| 28 | + | |
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
| |||
0 commit comments