Skip to content

Commit 339a97d

Browse files
authored
Merge pull request #143 from kichik/standards
set standards with .editorconfig and .gitattributes
2 parents 3f5cc1b + aad9f00 commit 339a97d

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

.editorconfig

Lines changed: 16 additions & 0 deletions
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

Lines changed: 2 additions & 0 deletions
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)