mirror of
https://github.com/facebook/react-native.git
synced 2024-11-21 21:27:46 +00:00
53dda9e542
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/44874 While reviewing https://github.com/facebook/react/pull/29830, I noticed this file was committed with tab indentation in React Native. I have also used the `.gitignore` entry to clarify how `react-native.code-workspace` interacts with an optional user `.vscode/` config directory. Note: The `json-stringify` parser can be used with Prettier 3+ only, so we use `json` instead. Changelog: [Internal] Reviewed By: vzaidman Differential Revision: D58413581 fbshipit-source-id: 58c14db6648fed10736062b1f055475154aa74a4
27 lines
430 B
Plaintext
27 lines
430 B
Plaintext
{
|
|
"arrowParens": "avoid",
|
|
"bracketSameLine": true,
|
|
"bracketSpacing": false,
|
|
"requirePragma": true,
|
|
"singleQuote": true,
|
|
"trailingComma": "all",
|
|
"endOfLine": "lf",
|
|
"overrides": [
|
|
{
|
|
"files": ["*.code-workspace"],
|
|
"options": {
|
|
"parser": "json"
|
|
}
|
|
},
|
|
{
|
|
"files": [
|
|
"*.js",
|
|
"*.js.flow"
|
|
],
|
|
"options": {
|
|
"parser": "hermes"
|
|
}
|
|
}
|
|
]
|
|
}
|