mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
4ad2fc8a9e
Summary: - Although we have `.editorconfig`, on Windows machines most of the times the IDEs default to `CRLF` as default EOL config - we've already specified the `eol` config as `lf` in `.editorconfig` at root level - this diff syncs same config for prettier as well >NOTE: Using `[skip ci]` as it's non code change and is tested for formatting. ## Changelog: [GENERAL] [CHANGED] - Specify `eol` config in `.prettierrc` as `lf` at the root level Pull Request resolved: https://github.com/facebook/react-native/pull/36884 Test Plan: - `yarn run format` --> _nothing should change_ Reviewed By: christophpurrer Differential Revision: D45056330 Pulled By: cortinico fbshipit-source-id: 166cbba04728e04521de58144abf0576730c8edd
10 lines
178 B
Plaintext
10 lines
178 B
Plaintext
{
|
|
"arrowParens": "avoid",
|
|
"bracketSameLine": true,
|
|
"bracketSpacing": false,
|
|
"requirePragma": true,
|
|
"singleQuote": true,
|
|
"trailingComma": "all",
|
|
"endOfLine": "lf"
|
|
}
|