mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
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:
committed by
Facebook GitHub Bot
parent
eb83356cee
commit
4ad2fc8a9e
+2
-1
@@ -4,5 +4,6 @@
|
||||
"bracketSpacing": false,
|
||||
"requirePragma": true,
|
||||
"singleQuote": true,
|
||||
"trailingComma": "all"
|
||||
"trailingComma": "all",
|
||||
"endOfLine": "lf"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user