Skip to content

Commit

Permalink
elvis configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
elbrujohalcon committed Sep 9, 2014
1 parent bdc60d2 commit 9bb8206
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions elvis.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
[
{
elvis,
[
{config,
#{src_dirs => ["src"],
rules => [{elvis_style, line_length, [80]},
{elvis_style, no_tabs, []},
{elvis_style, macro_names, []},
{elvis_style, macro_module_names, []},
{elvis_style, operator_spaces, [{right, ","},
{right, "++"},
{left, "++"}]},
{elvis_style, nesting_level, [3]},
{elvis_style, god_modules, [25]},
{elvis_style, no_if_expression, []},
{elvis_style, invalid_dynamic_call, [elvis]},
{elvis_style, used_ignored_variable, []},
{elvis_style, no_behavior_info, []},
{
elvis_style,
module_naming_convention,
["^([a-z][a-z0-9]*_?)*(_SUITE)?$", []]
}
]
}
}
]
}
].

0 comments on commit 9bb8206

Please sign in to comment.