Skip to content

Commit

Permalink
add .editorconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
bluenex committed Jan 30, 2019
1 parent 3f60eb3 commit 4cd19c9
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# http://editorconfig.org
root = true

[*]
charset = utf-8
end_of_line = lf
indent_size = 2
indent_style = space
insert_final_newline = true
max_line_length = 80
trim_trailing_whitespace = true

[*.md]
max_line_length = 0
trim_trailing_whitespace = false

# https://github.com/editorconfig/editorconfig-core-py/blob/master/.editorconfig
[*.{py,rst,txt}]
indent_style = space
trim_trailing_whitespace = true
indent_size = 4
end_of_line = LF

[*.yml]
indent_style = space
indent_size = 2
end_of_line = LF

[COMMIT_EDITMSG]
max_line_length = 0

0 comments on commit 4cd19c9

Please sign in to comment.