Skip to content

Commit

Permalink
rebar3_lint: "fix" for no_block_expressions
Browse files Browse the repository at this point in the history
A proper fix would probably be to not avoid it,
but 1. that'd change code, which is not our
priority here, 2. that might not be easy to
achieve when macros are involved
  • Loading branch information
kivra-pauoli committed Aug 29, 2024
1 parent f31d582 commit 1d10109
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions elvis.config
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,16 @@
[ #{dirs => [ "src"
],
filter => "*.erl",
ruleset => erl_files
ruleset => erl_files,
rules => [ {elvis_style, no_block_expressions, disable}
]
},
#{dirs => [ "test"
],
filter => "*.erl",
ruleset => erl_files
ruleset => erl_files,
rules => [ {elvis_style, no_block_expressions, disable}
]
}
]
}
Expand Down

0 comments on commit 1d10109

Please sign in to comment.