Skip to content

Instantly share code, notes, and snippets.

@merikan
Last active August 29, 2015 14:26
Show Gist options
  • Save merikan/df1a65c85e57c0d135ec to your computer and use it in GitHub Desktop.
Save merikan/df1a65c85e57c0d135ec to your computer and use it in GitHub Desktop.
# This file is for unifying the coding style for different editors and IDEs usin EditorConfig
# http://EditorConfig.org
# All EditorConfig properties:
# https://github.com/editorconfig/editorconfig/wiki/EditorConfig-Properties
root = true
# global settings
[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
# programming languages
[*.{java,groovy}]
indent_style = tab
indent_size = 4
# markup languages
[*.{md,markdown,asciidoc,adoc}]
trim_trailing_whitespace = false
# yaml
[*.{yml,yaml,raml}]
trim_trailing_whitespace = false
# xml
[*.{xml,xsd}]
indent_style = tab
indent_size = 4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment