Skip to content

Fix analyze_code CircleCI Job#34801

Closed
NickGerleman wants to merge 1 commit into
facebook:mainfrom
NickGerleman:export-D39848604
Closed

Fix analyze_code CircleCI Job#34801
NickGerleman wants to merge 1 commit into
facebook:mainfrom
NickGerleman:export-D39848604

Conversation

@NickGerleman
Copy link
Copy Markdown
Contributor

Summary:
D39796598 (8cdc9e7) broke this CircleCI job, causing failures for dtslint and prettier. This fixes both issues, by upating formatting, and removing types from legacy-properties.d.ts that we no longer export.

These were not flagged by sandcastle. It looks like this is because:

  1. We run eslint, but not dtslint internally
  2. Arcanist will ignore anything under a "vendor" directory, while we do not exlude anything from the prettier check in OSS.

I also updated the eslint config to lint any TypeScript that appears outside the types directory, since typings are now spread out.

Changelog:
[Internal][Fixed] - Fix analyze_code CircleCI Job

Differential Revision: D39848604

Summary:
D39796598 (facebook@8cdc9e7) broke this CircleCI job, causing failures for `dtslint` and `prettier`. This fixes both issues, by upating formatting, and removing types from `legacy-properties.d.ts` that we no longer export.

These were not flagged by sandcastle. It looks like this is because:
1. We run eslint, but not dtslint internally
2. Arcanist will ignore anything under a "vendor" directory, while we do not exlude anything from the prettier check in OSS.

I also updated the eslint config to lint any TypeScript that appears outside the types directory, since typings are now spread out.

Changelog:
[Internal][Fixed] - Fix `analyze_code` CircleCI Job

Differential Revision: D39848604

fbshipit-source-id: 8a3b16dbbae20291c05fc7d1afea6f9423ac6474
@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 fb-exported labels Sep 27, 2022
@facebook-github-bot
Copy link
Copy Markdown
Contributor

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

@analysis-bot
Copy link
Copy Markdown

Platform Engine Arch Size (bytes) Diff
android hermes arm64-v8a 7,728,215 +0
android hermes armeabi-v7a 7,131,100 +0
android hermes x86 8,034,774 +0
android hermes x86_64 8,008,050 +0
android jsc arm64-v8a 9,597,010 +0
android jsc armeabi-v7a 8,363,322 +0
android jsc x86 9,541,231 +0
android jsc x86_64 10,133,635 +0

Base commit: 5933b6a
Branch: main

@react-native-bot
Copy link
Copy Markdown
Collaborator

This pull request was successfully merged by @NickGerleman in b788b6e.

When will my fix make it into a release? | Upcoming Releases

@react-native-bot react-native-bot added the Merged This PR has been merged. label Sep 27, 2022
@analysis-bot
Copy link
Copy Markdown

Platform Engine Arch Size (bytes) Diff
ios - universal n/a --

Base commit: b788b6e
Branch: main

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug 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.

4 participants