Skip to content

Commit c31ab68

Browse files
yangshunJoelMarcey
authored andcommitted
Standardize editor configs for cross-platform development (facebook#628)
1 parent 34d86f7 commit c31ab68

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

.editorconfig

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# http://editorconfig.org
2+
3+
root = true
4+
5+
[*]
6+
charset = utf-8
7+
end_of_line = lf
8+
insert_final_newline = true
9+
indent_style = space
10+
indent_size = 2
11+
max_line_length = 80
12+
trim_trailing_whitespace = true
13+
14+
[*.md]
15+
insert_final_newline = false
16+
trim_trailing_whitespace = false

.gitattributes

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Auto detect text files and perform LF normalization
2+
* text=auto
3+
* text eol=lf

0 commit comments

Comments
 (0)