aboutsummaryrefslogtreecommitdiffstats
path: root/Library/.rubocop.yml
diff options
context:
space:
mode:
authorGautham Goli2017-02-12 11:07:03 +0530
committerGautham Goli2017-02-12 14:52:13 +0530
commit5dc358c1b7254aa622504cd98528779caf6dee00 (patch)
tree677e69d46be452d83233b6a629be3d020813a721 /Library/.rubocop.yml
parent1f5cf4fd40fc3528e700a421afc9a128c159cac9 (diff)
downloadbrew-5dc358c1b7254aa622504cd98528779caf6dee00.tar.bz2
Update rubocop config
Diffstat (limited to 'Library/.rubocop.yml')
-rw-r--r--Library/.rubocop.yml9
1 files changed, 4 insertions, 5 deletions
diff --git a/Library/.rubocop.yml b/Library/.rubocop.yml
index 012fcd609..30b9ec81e 100644
--- a/Library/.rubocop.yml
+++ b/Library/.rubocop.yml
@@ -6,10 +6,9 @@ AllCops:
- '**/Casks/**/*'
- '**/vendor/**/*'
-require:
- - ./Homebrew/rubocops/bottle_block_cop.rb
+require: ./Homebrew/rubocops.rb
-CustomCops/CorrectBottleBlock:
+Homebrew/CorrectBottleBlock:
Enabled: true
Metrics/AbcSize:
@@ -47,7 +46,7 @@ Lint/AssignmentInCondition:
Enabled: false
Lint/EndAlignment:
- AlignWith: variable
+ EnforcedStyleAlignWith: variable
Lint/ParenthesesAsGroupedExpression:
Enabled: false
@@ -69,7 +68,7 @@ Style/BlockDelimiters:
EnforcedStyle: line_count_based
Style/CaseIndentation:
- IndentWhenRelativeTo: end
+ EnforcedStyle: end
Style/ClassAndModuleChildren:
EnforcedStyle: nested