Skip to content

Commit 4ad2fc8

Browse files
Pranav-yadavfacebook-github-bot
authored andcommitted
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: #36884 Test Plan: - `yarn run format` --> _nothing should change_ Reviewed By: christophpurrer Differential Revision: D45056330 Pulled By: cortinico fbshipit-source-id: 166cbba04728e04521de58144abf0576730c8edd
1 parent eb83356 commit 4ad2fc8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.prettierrc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,6 @@
44
"bracketSpacing": false,
55
"requirePragma": true,
66
"singleQuote": true,
7-
"trailingComma": "all"
7+
"trailingComma": "all",
8+
"endOfLine": "lf"
89
}

0 commit comments

Comments
 (0)