Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/git/git-scm.com.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2022-10-05 12:34:11 +0300
committerJeff King <peff@peff.net>2022-10-05 16:27:57 +0300
commitc1a28b851832d6da856560b5a5310371ef000336 (patch)
tree67aaa3ee6bf8e4028825e5bef95f0535fb9adc70 /.rubocop.yml
parente5c67d935eb669166c9571888576f65935ba526b (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.yml2
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