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
This commit is contained in:
Pranav Yadav
2023-04-17 12:38:24 -07:00
committed by Facebook GitHub Bot
parent eb83356cee
commit 4ad2fc8a9e
+2 -1
View File
@@ -4,5 +4,6 @@
"bracketSpacing": false,
"requirePragma": true,
"singleQuote": true,
"trailingComma": "all"
"trailingComma": "all",
"endOfLine": "lf"
}