Skip to content

Commit

Permalink
lint: disable most elvis rules except text formatting ones for now
Browse files Browse the repository at this point in the history
  • Loading branch information
hlolli committed Dec 7, 2023
1 parent 4c6ad76 commit e58e966
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions config/elvis.config
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,23 @@
[
{config,
[#{dirs => ["./apps/arweave/src"],
filter => "*.erl",
ruleset => erl_files
filter => "*.{e,h}rl",
ruleset => erl_files,
rules => [
{elvis_style, consistent_variable_casing, disable},
{elvis_style, dont_repeat_yourself, disable},
{elvis_style, nesting_level, disable},
{elvis_style, no_debug_call, disable},
{elvis_style, no_catch_expressions, disable},
{elvis_style, no_throw, disable},
{elvis_style, max_function_arity, disable},
{elvis_style, function_naming_convention, disable},
{elvis_style, variable_naming_convention, disable},
{elvis_style, atom_naming_convention, disable},
{elvis_style, param_pattern_matching, disable},
{elvis_text_style, line_length, #{ limit => 120 }},
{elvis_text_style, no_tabs, disable}
]
}
]
}
Expand Down

0 comments on commit e58e966

Please sign in to comment.