mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
2c3a00b7b1
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/52746 The config is needed for build, so I renamed it. In this way, the formatting of js code in react-native repo will be consistently controlled by the prettier config in the root. This change will make prettier v3 upgrade easier. Changelog: [Internal] Reviewed By: pieterv Differential Revision: D78700564 fbshipit-source-id: 392ed490bf814870f285c8372ff68b454e228802
10 lines
178 B
Plaintext
10 lines
178 B
Plaintext
{
|
|
"arrowParens": "avoid",
|
|
"bracketSameLine": true,
|
|
"bracketSpacing": false,
|
|
"requirePragma": true,
|
|
"singleQuote": true,
|
|
"trailingComma": "all",
|
|
"parser": "babel"
|
|
}
|