Skip to content

Commit f2616eb

Browse files
committed
style: add .json, .xproj to editoconfig/gitattributes, etc. Ignore .vscode.
1 parent 93b4408 commit f2616eb

File tree

3 files changed

+12
-3
lines changed

3 files changed

+12
-3
lines changed

Diff for: .editorconfig

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ tab_width = 8
1919
indent_style = space
2020
indent_size = 4
2121

22-
# 2 space indentation for ruby, yaml
23-
[*.{rb,yml,yaml}]
22+
# 2 space indentation for ruby, yaml, json
23+
[*.{rb,yml,yaml, json}]
2424
indent_style = space
2525
indent_size = 2
2626

Diff for: .gitattributes

+9
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
*.sass eol=lf
2121
*.less eol=lf
2222
*.js eol=lf
23+
*.json eol=lf
2324
*.lisp eol=lf
2425
*.clj eol=lf
2526
*.sql eol=lf
@@ -31,10 +32,18 @@
3132
*.fs eol=lf
3233
*.fsx eol=lf
3334
*.hs eol=lf
35+
*.yml eol=lf
36+
*.rs eol=lf
37+
38+
3439

3540
*.csproj eol=crlf
41+
*.xproj eol=crlf
3642
*.vbproj eol=crlf
3743
*.fsproj eol=crlf
3844
*.dbproj eol=crlf
3945
*.sln eol=crlf
4046
*.txt eol=crlf
47+
48+
.gitattributes eol=lf
49+
.gitignore eol=lf

Diff for: .gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ gmon.out
8686

8787

8888
# VSCode
89-
/.vscode/
89+
.vscode/
9090

9191
.vs/
9292

0 commit comments

Comments
 (0)