mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
163a3732a0
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/50588 Changelog: [internal] This configures Prettier to format all markdown files in `__docs__`. Reviewed By: lenaic Differential Revision: D72706239 fbshipit-source-id: 67b4c82528c89e497c0ff1aacbc30d76f4d29a3e
37 lines
615 B
Plaintext
37 lines
615 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"
|
|
}
|
|
},
|
|
{
|
|
"files": [
|
|
"**/__docs__/*.md"
|
|
],
|
|
"options": {
|
|
"parser": "markdown",
|
|
"proseWrap": "always",
|
|
"requirePragma": false
|
|
}
|
|
}
|
|
]
|
|
}
|