Skip to content

Commit 2e56c14

Browse files
nstepienamanmahajan7
authored andcommitted
Normalize line endings (#1653)
* Enforce LF line endings * Normalize a few files
1 parent 299279f commit 2e56c14

File tree

6 files changed

+462
-467
lines changed

6 files changed

+462
-467
lines changed

.editorconfig

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
1-
# EditorConfig helps developers define and maintain consistent
2-
# coding styles between different editors and IDEs
3-
# http://editorconfig.org
4-
5-
root = true
6-
7-
[*]
8-
9-
# Change these settings to your own preference
10-
indent_style = space
11-
indent_size = 2
12-
13-
# We recommend you to keep these unchanged
14-
end_of_line = lf
15-
charset = utf-8
16-
trim_trailing_whitespace = true
17-
insert_final_newline = true
18-
19-
[*.md]
20-
trim_trailing_whitespace = false
1+
# EditorConfig helps developers define and maintain consistent
2+
# coding styles between different editors and IDEs
3+
# http://editorconfig.org
4+
5+
root = true
6+
7+
[*]
8+
9+
# Change these settings to your own preference
10+
indent_style = space
11+
indent_size = 2
12+
13+
# We recommend you to keep these unchanged
14+
end_of_line = lf
15+
charset = utf-8
16+
trim_trailing_whitespace = true
17+
insert_final_newline = true
18+
19+
[*.md]
20+
trim_trailing_whitespace = false

.gitattributes

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
* text=auto
1+
* text=auto eol=lf
22

3-
*.js text eol=lf
4-
*.jsx text eol=lf
5-
*.json text eol=lf
6-
*.css text eol=lf
7-
*.less text eol=lf
8-
*.md text eol=lf
3+
*.svg text

0 commit comments

Comments
 (0)