Skip to content

Commit

Permalink
Merge pull request #292 from lucafavatella/guidelines
Browse files Browse the repository at this point in the history
Mention guidelines
  • Loading branch information
Brujo Benavides authored Mar 8, 2017
2 parents 0172c67 + fa1f3d4 commit 045b082
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
root = true

[*]
indent_style = space
indent_size = 2
15 changes: 15 additions & 0 deletions CONTRIBUTING.md
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.

0 comments on commit 045b082

Please sign in to comment.