Skip to content

Commit

Permalink
Merge pull request #78 from zopefoundation/update_editorconf
Browse files Browse the repository at this point in the history
better editorconfig
  • Loading branch information
loechel committed Sep 14, 2017
2 parents b2c6b21 + 51724cd commit e26319a
Showing 1 changed file with 28 additions and 4 deletions.
32 changes: 28 additions & 4 deletions .editorconfig
@@ -1,12 +1,36 @@
[*]
indent_style = space
# EditorConfig Configurtaion file, for more details see:
# http://EditorConfig.org
# EditorConfig is a convention description, that could be interpreted
# by multiple editors to enforce common coding conventions for specific
# file types

# top-most EditorConfig file:
# Will ignore other EditorConfig files in Home directory or upper tree level.
root = true


[*] # For All Files
# Unix-style newlines with a newline ending every file
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
# Set default charset
charset = utf-8
# Indent style default
indent_style = space
# Max Line Length - a hard line wrap, should be disabled
max_line_length = off

[*.{py,cfg}]
[*.{py,cfg,ini}]
# 4 space indentation
indent_size = 4

[Makefile]
[*.{yml}]
# 2 space indentation
indent_size = 2

[{Makefile,.gitmodules}]
# Tab indentation (no size specified, but view as 4 spaces)
indent_style = tab
indent_size = unset
tab_width = unset

0 comments on commit e26319a

Please sign in to comment.