Skip to content

Reset Prettier brackets options to defaults #125

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

Merged

Conversation

huntie
Copy link
Collaborator

@huntie huntie commented Apr 29, 2025

Summary:

Note

Depends on #123.

We shouldn't push so many FB-specific code style decisions onto new React Native users. Resets these Prettier options to their defaults, aligning better with other open source templates.

- bracketSameLine: true,
- bracketSpacing: false,

Changelog: [GENERAL][CHANGED] - Simplify Prettier config

Test Plan:

✅ See newly formatted files

@huntie huntie requested review from cortinico and cipolleschi April 29, 2025 13:20
@cipolleschi
Copy link
Contributor

can you rebase this? @huntie

@huntie huntie force-pushed the simplify-prettierrc branch from 43c3f3e to cb66218 Compare April 29, 2025 14:28
@cipolleschi cipolleschi merged commit 7a24324 into react-native-community:main May 1, 2025
1 check passed
@huntie huntie deleted the simplify-prettierrc branch May 1, 2025 15:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants