Skip to content

Instantly share code, notes, and snippets.

@eksperimental
Last active August 21, 2022 12:14
Show Gist options
  • Save eksperimental/6a43b9a0ab8d718f5886e7025062fcbd to your computer and use it in GitHub Desktop.
Save eksperimental/6a43b9a0ab8d718f5886e7025062fcbd to your computer and use it in GitHub Desktop.
.editorconfig for Elixir projects
# EditorConfig is awesome: http://EditorConfig.org
# .editorconfig for Elixir projects
# https://git.io/elixir-editorconfig
# top-most EditorConfig file
root = true
[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
[*.{md, markdown, eex}]
trim_trailing_whitespace = false
[Makefile]
indent_style = tab
#[*.bat]
#end_of_line = crlf
@eksperimental
Copy link
Author

@christopheradams do you have a proposal of an .editorconfig explicitly listing the file extensions? I would like to see it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment