Skip to content

Commit

Permalink
!#38 Fix: settings for file editor
Browse files Browse the repository at this point in the history
  • Loading branch information
luismayta committed Nov 29, 2017
1 parent a04284b commit 72a2f03
Showing 1 changed file with 34 additions and 19 deletions.
53 changes: 34 additions & 19 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,28 +1,43 @@
# http://editorconfig.org
root = true

# EditorConfig is awesome: http://EditorConfig.org


# top-most EditorConfig file
root = true

# Unix-style newlines with a newline ending every file
[*]
indent_style = space
indent_size = 2
end_of_line = lf
trim_trailing_whitespace = true
charset = utf-8
insert_final_newline = false
max_line_length = 80

[*.{py,sh,sql}]
indent_size = 4
end_of_line = lf
insert_final_newline = false
indent_style = space

[*.md]
trim_trailing_whitespace = false
# Matches multiple files with brace expansion notation
# Set default charset
[*.{js,py,el}]
charset = utf-8

# Tabs
[*.{less,css}]
indent_style = tab
[*.{el}]
insert_final_newline = false

[Vagrantfile]
indent_style = tab
[*.{el,md}]
indent_style = space
indent_size = 2

# 4 space indentation
[*.{py,yml}]
indent_style = space
indent_size = 4

# Tab indentation (no size specified)
[Makefile]
indent_style = tab

# Indentation override for all JS under lib directory
[*.{js,json,yml}]
indent_style = space
indent_size = 2


[*.{make,mk}]
indent_style = tab
indent_size = 4

0 comments on commit 72a2f03

Please sign in to comment.