Skip to content

Commit

Permalink
Merge pull request #97 from AtomLinter/add-gitattributes
Browse files Browse the repository at this point in the history
Force EOL to be LF
  • Loading branch information
Arcanemagus committed Jan 11, 2016
2 parents f354d39 + 8fb400f commit 2f22eb9
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# EditorConfig helps developers define and maintain consistent
# coding styles between different editors and IDEs
# editorconfig.org

root = true

[*]

# Change these settings to your own preference
indent_style = space
indent_size = 2

# We recommend you to keep these unchanged
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.md]
trim_trailing_whitespace = false
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Auto detect text files and perform LF normalization
* text eol=lf

0 comments on commit 2f22eb9

Please sign in to comment.