Skip to content

Commit

Permalink
added editorconfig settings i found on the ansible mailing list
Browse files Browse the repository at this point in the history
  • Loading branch information
caphrim007 committed Feb 28, 2017
1 parent 00eef02 commit d89ae8d
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion .editorconfig
@@ -1,4 +1,21 @@
# -*- mode: conf-unix; -*-

# defaults
[*]
insert_final_newline = true

# 4 space indentation
[*.{ini,py,py.tpl,rst,yaml}]
indent_style = space
indent_size = 4

# for travis
[.travis.yml]
indent_style = space
indent_size = 2

# Override for Makefile
[{Makefile, makefile, GNUmakefile}]
indent_style = tab
indent_size = 4
indent_size = 4

0 comments on commit d89ae8d

Please sign in to comment.