Files
react-native/.prettierrc
Rubén Norte 163a3732a0 Enable prettier for markdown files in __docs__ (#50588)
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
2025-04-09 05:42:48 -07:00

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
}
}
]
}