Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use prettier-plugin-hermes-parser to match upstream settings #12599

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

rozele
Copy link
Collaborator

@rozele rozele commented Jan 12, 2024

Description

What

In order to minimize the delta between platform override files in react-native-windows and upstream facebook/react-native files, switch to prettier-plugin-hermes-parser. The same change was made in facebook/react-native@dc2037c

Changelog

Should this change be included in the release notes: no

Microsoft Reviewers: Open in CodeFlow

@rozele rozele requested a review from a team as a code owner January 12, 2024 16:40
@rozele rozele marked this pull request as draft January 12, 2024 18:23
@rozele rozele changed the title Fixes prettier issue in LogBoxInspectorHeader Use prettier-plugin-hermes-parser to match upstream settings Jan 20, 2024
@rozele rozele force-pushed the prettierFix branch 3 times, most recently from e45ddaa to 0239bc3 Compare January 21, 2024 01:19
@rozele rozele marked this pull request as ready for review January 21, 2024 01:19
rozele and others added 2 commits January 20, 2024 20:57
In order to minimize the delta between platform override files in react-native-windows and upstream facebook/react-native files, switch to prettier-plugin-hermes-parser. The same change was made in facebook/react-native@dc2037c
@@ -88,7 +88,7 @@ const backgroundForLevel = (level: LogLevel) =>
default: 'transparent',
pressed: LogBoxStyle.getFatalDarkColor(),
},
}[level]);
})[level];
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like you need to apply this change to packages\@office-iss\react-native-win32\src\Libraries\LogBox\UI\LogBoxInspectorHeader.win32.js in order to pass linting.

@rozele rozele requested a review from a team as a code owner February 9, 2024 20:30
@marlenecota marlenecota enabled auto-merge (squash) February 9, 2024 20:30
@chiaramooney
Copy link
Contributor

Change is approved. Will merge when CI runs green.

@chrisglein
Copy link
Member

Change is approved. Will merge when CI runs green.

@rozele PR has signoff but needs a clean CI run. With that, good to go.

@chrisglein chrisglein added the Needs: Author Feedback The issue/PR needs activity from its author (label drives bot activity) label May 13, 2024
@jonthysell jonthysell self-assigned this May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs: Author Feedback The issue/PR needs activity from its author (label drives bot activity)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants