mirror of
https://github.com/facebook/react-native.git
synced 2024-11-22 06:29:46 +00:00
0a0ce8403e
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/39048 Similar to D48047348, we should also use hermes-parser to parse .js.flow files to support newer Flow syntax. Changelog: [Internal] Reviewed By: yungsters Differential Revision: D48398780 fbshipit-source-id: 280ac546493361c4421449f86bf3f735b93a18e8
21 lines
328 B
Plaintext
21 lines
328 B
Plaintext
{
|
|
"arrowParens": "avoid",
|
|
"bracketSameLine": true,
|
|
"bracketSpacing": false,
|
|
"requirePragma": true,
|
|
"singleQuote": true,
|
|
"trailingComma": "all",
|
|
"endOfLine": "lf",
|
|
"overrides": [
|
|
{
|
|
"files": [
|
|
"*.js",
|
|
"*.js.flow"
|
|
],
|
|
"options": {
|
|
"parser": "hermes"
|
|
}
|
|
}
|
|
]
|
|
}
|