Files
react-native/.prettierrc
T
Pranav Yadav 4ad2fc8a9e chore: specify eol config in .prettierrc as lf (#36884)
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
2023-04-17 12:38:24 -07:00

10 lines
178 B
Plaintext

{
"arrowParens": "avoid",
"bracketSameLine": true,
"bracketSpacing": false,
"requirePragma": true,
"singleQuote": true,
"trailingComma": "all",
"endOfLine": "lf"
}