Skip to content

Commit

Permalink
Add .editorconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
petk committed Oct 20, 2017
1 parent e4663ed commit cf1a3fa
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# http://editorconfig.org

root = true

[*]
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.php]
indent_style = space
indent_size = 4

[*.md]
trim_trailing_whitespace = false

[{*.json, *.yml, *.xml, *.xml.dist}]
indent_style = space
indent_size = 4

[{.travis.yml}]
indent_style = space
indent_size = 2

0 comments on commit cf1a3fa

Please sign in to comment.