Skip to content

Commit

Permalink
style: add .json, .xproj to editoconfig/gitattributes, etc. Ignore .v…
Browse files Browse the repository at this point in the history
…scode.
  • Loading branch information
lilith committed Dec 12, 2016
1 parent 93b4408 commit f2616eb
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ tab_width = 8
indent_style = space
indent_size = 4

# 2 space indentation for ruby, yaml
[*.{rb,yml,yaml}]
# 2 space indentation for ruby, yaml, json
[*.{rb,yml,yaml, json}]
indent_style = space
indent_size = 2

Expand Down
9 changes: 9 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
*.sass eol=lf
*.less eol=lf
*.js eol=lf
*.json eol=lf
*.lisp eol=lf
*.clj eol=lf
*.sql eol=lf
Expand All @@ -31,10 +32,18 @@
*.fs eol=lf
*.fsx eol=lf
*.hs eol=lf
*.yml eol=lf
*.rs eol=lf



*.csproj eol=crlf
*.xproj eol=crlf
*.vbproj eol=crlf
*.fsproj eol=crlf
*.dbproj eol=crlf
*.sln eol=crlf
*.txt eol=crlf

.gitattributes eol=lf
.gitignore eol=lf
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ gmon.out


# VSCode
/.vscode/
.vscode/

.vs/

Expand Down

0 comments on commit f2616eb

Please sign in to comment.