-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #292 from lucafavatella/guidelines
Mention guidelines
- Loading branch information
Showing
2 changed files
with
20 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
root = true | ||
|
||
[*] | ||
indent_style = space | ||
indent_size = 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Erlang Guidelines | ||
|
||
This project follows [Inaka's Erlang | ||
guidelines](https://github.com/inaka/erlang_guidelines). | ||
|
||
Rules are not applied strictly, and the main rule is [maintaining the | ||
existing | ||
style](https://github.com/inaka/erlang_guidelines#maintain-existing-style): | ||
|
||
> When editing a module written by someone else, stick to the style in | ||
which it was written. If a project has an overall style, stick to | ||
that when writing new modules as well. | ||
|
||
Some of the guidelines are codified as [editor-agnostic | ||
configuration](http://editorconfig.org/) in the `.editorconfig` file. |