|
| 1 | +%% Elvis configuration for epp_proxy project |
| 2 | +[ |
| 3 | + {elvis, |
| 4 | + [ |
| 5 | + {config, |
| 6 | + [ |
| 7 | + {dirs, ["apps/epp_proxy/src", "apps/epp_proxy/test"]}, |
| 8 | + {filter, "*.erl"}, |
| 9 | + {ruleset, erl_files} |
| 10 | + ]}, |
| 11 | + {output_format, colored} |
| 12 | + ]}, |
| 13 | + {erl_files, |
| 14 | + [ |
| 15 | + {elvis_style, line_length, #{limit => 100}}, |
| 16 | + {elvis_style, no_tabs}, |
| 17 | + {elvis_style, no_trailing_whitespace}, |
| 18 | + {elvis_style, macro_names, #{regex => "^[A-Z][A-Z_]*$"}}, |
| 19 | + {elvis_style, macro_module_names, #{regex => "^[A-Z][a-zA-Z0-9]*$"}}, |
| 20 | + {elvis_style, function_naming_convention, #{regex => "^[a-z][a-zA-Z0-9_]*$"}}, |
| 21 | + {elvis_style, variable_naming_convention, #{regex => "^[A-Z][a-zA-Z0-9_]*$"}}, |
| 22 | + {elvis_style, no_catch_expressions}, |
| 23 | + {elvis_style, no_if_expression}, |
| 24 | + {elvis_style, no_throw}, |
| 25 | + {elvis_style, no_author}, |
| 26 | + {elvis_style, no_spec_with_records}, |
| 27 | + {elvis_style, dont_repeat_yourself, #{min_complexity => 10}}, |
| 28 | + {elvis_style, no_debug_call}, |
| 29 | + {elvis_style, no_common_caveats_call}, |
| 30 | + {elvis_style, no_nested_try_catch}, |
| 31 | + {elvis_style, no_seqbind}, |
| 32 | + {elvis_style, no_useless_seqbind}, |
| 33 | + {elvis_style, used_ignored_variable}, |
| 34 | + {elvis_style, no_behavior_info}, |
| 35 | + {elvis_style, module_naming_convention, #{regex => "^[a-z][a-zA-Z0-9_]*$"}}, |
| 36 | + {elvis_style, state_record_and_type}, |
| 37 | + {elvis_style, no_spec_with_records}, |
| 38 | + {elvis_style, callback_spec}, |
| 39 | + {elvis_style, no_catch_expressions}, |
| 40 | + {elvis_style, no_if_expression}, |
| 41 | + {elvis_style, no_throw}, |
| 42 | + {elvis_style, no_author}, |
| 43 | + {elvis_style, no_spec_with_records}, |
| 44 | + {elvis_style, dont_repeat_yourself, #{min_complexity => 10}}, |
| 45 | + {elvis_style, no_debug_call}, |
| 46 | + {elvis_style, no_common_caveats_call}, |
| 47 | + {elvis_style, no_nested_try_catch}, |
| 48 | + {elvis_style, no_seqbind}, |
| 49 | + {elvis_style, no_useless_seqbind}, |
| 50 | + {elvis_style, used_ignored_variable}, |
| 51 | + {elvis_style, no_behavior_info}, |
| 52 | + {elvis_style, module_naming_convention, #{regex => "^[a-z][a-zA-Z0-9_]*$"}}, |
| 53 | + {elvis_style, state_record_and_type}, |
| 54 | + {elvis_style, no_spec_with_records}, |
| 55 | + {elvis_style, callback_spec} |
| 56 | + ]} |
| 57 | +]. |
0 commit comments