Skip to content

Commit

Permalink
Fix .editorconfig to not mess with line endings
Browse files Browse the repository at this point in the history
  • Loading branch information
fredizzimo authored and jackhumbert committed Feb 3, 2018
1 parent a6be486 commit e7bb975
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,29 @@ 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
indent_size = 4

# Make these match what we have in .gitattributes
[*.mk]
end_of_line = lf

[Makefile]
end_of_line = lf

[*.sh]
end_of_line = lf

# The gitattributes file will handle the line endings conversion properly according to the operating system settings for other files


# We don't have gitattributes properly for these
# So if the user have for example core.autocrlf set to true
# the line endings would be wrong.
[lib/**]
end_of_line = unset

0 comments on commit e7bb975

Please sign in to comment.