diff options
author | Jeff King <peff@peff.net> | 2022-10-05 12:34:11 +0300 |
---|---|---|
committer | Jeff King <peff@peff.net> | 2022-10-05 16:27:57 +0300 |
commit | c1a28b851832d6da856560b5a5310371ef000336 (patch) | |
tree | 67aaa3ee6bf8e4028825e5bef95f0535fb9adc70 /.rubocop.yml | |
parent | e5c67d935eb669166c9571888576f65935ba526b (diff) |
rubocop: disable Style/IfUnlessModifier
I think either is fine depending on context, and often a full "if" is
more readable.
Diffstat (limited to '.rubocop.yml')
-rw-r--r-- | .rubocop.yml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/.rubocop.yml b/.rubocop.yml index f32687dd..f3bd252c 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -24,6 +24,8 @@ Style/Documentation: Enabled: false Style/ConditionalAssignment: Enabled: false +Style/IfUnlessModifier: + Enabled: false Layout/LineLength: Enabled: false |