Skip to content

Commit aad9f00

Browse files
committed
set standards with .editorconfig and .gitattributes
1 parent 3f5cc1b commit aad9f00

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

.editorconfig

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
root = true
2+
3+
[*]
4+
end_of_line = lf
5+
insert_final_newline = true
6+
7+
[*.{js,json,yml}]
8+
charset = utf-8
9+
10+
[*.js]
11+
indent_style = space
12+
indent_size = 2
13+
14+
[package.json]
15+
indent_style = space
16+
indent_size = 2

.gitattributes

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
*.js text eol=lf
2+
*.json text eol=lf

0 commit comments

Comments
 (0)