aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorDominyk Tiller2016-02-01 15:33:59 +0000
committerDominyk Tiller2016-02-01 18:32:22 +0000
commita584711115ef2c7aa4254f6b88975ed6977c9d3a (patch)
tree2f3b43339ff0af4972e83fea15f90bd81b3f4ef2 /Library
parenta173196e3296520a656cc357b8a53a27ee0b2c76 (diff)
downloadbrew-a584711115ef2c7aa4254f6b88975ed6977c9d3a.tar.bz2
rubocop: disable Style/ConditionalAssignment
Closes Homebrew/homebrew#48708. Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/.rubocop.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/Library/.rubocop.yml b/Library/.rubocop.yml
index 7306009f3..629192354 100644
--- a/Library/.rubocop.yml
+++ b/Library/.rubocop.yml
@@ -23,6 +23,11 @@ Style/CommandLiteral:
Style/RegexpLiteral:
EnforcedStyle: slashes
+# our current conditional style is established, clear and
+# requiring users to change that now would be confusing.
+Style/ConditionalAssignment:
+ Enabled: false
+
# no metrics for formulas
Metrics/AbcSize:
Enabled: false