Hi everyone,
I would like to propose to include a .editorconfig file in the Elixir project.
This is the file I have been using during the past year, and I'm very pleased with it, as it has
worked flawlessly so far.
https://git.io/elixir-editorconfig
For those who never heard of it, Editor Config (
http://editorconfig.org/) consists of "of a file
format for defining coding styles and a collection of text editor plugins that enable editors to
read the file format and adhere to defined styles"
It is being used in many big projects:
https://github.com/editorconfig/editorconfig/wiki/Projects-Using-EditorConfig
It pretty much adheres to the conventions we have in the project, which is:
- No trailing white-space at the end of lines
- End file in a new line
- Use 2 white-spaces instead of tab
- file charset is UTF-8
Let me know what you think,
Additionally I recommend everyone to include it in your project, and send me your contributions,
maybe in the future it could also be included when you create a new project running Mix.
Cheers