aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMarkus Reiter2016-10-11 01:00:23 +0200
committerMarkus Reiter2016-10-23 14:13:16 +0200
commit13e3272e37d18f0ad3a6273519958bcada30dbbb (patch)
treee65a25ca28e86544eb9529c0fcf787a502394a37 /Library
parent364adff35c7700a0ab05968907b57d219744f489 (diff)
downloadbrew-13e3272e37d18f0ad3a6273519958bcada30dbbb.tar.bz2
Remove Cask’s RuboCop configuration.
Diffstat (limited to 'Library')
-rw-r--r--Library/.rubocop.yml2
-rw-r--r--Library/Homebrew/.rubocop.yml2
-rw-r--r--Library/Homebrew/cask/.rubocop.yml131
3 files changed, 3 insertions, 132 deletions
diff --git a/Library/.rubocop.yml b/Library/.rubocop.yml
index ac10f92e5..289f53c59 100644
--- a/Library/.rubocop.yml
+++ b/Library/.rubocop.yml
@@ -1,5 +1,7 @@
AllCops:
TargetRubyVersion: 2.0
+ Exclude:
+ - '**/Casks/**/*'
Metrics/AbcSize:
Enabled: false
diff --git a/Library/Homebrew/.rubocop.yml b/Library/Homebrew/.rubocop.yml
index a43727371..a6485dca4 100644
--- a/Library/Homebrew/.rubocop.yml
+++ b/Library/Homebrew/.rubocop.yml
@@ -6,7 +6,7 @@ AllCops:
Include:
- '**/.simplecov'
Exclude:
- - 'cask/**/*'
+ - '**/Casks/**/*'
- '**/vendor/**/*'
# so many of these in formulae but none in here
diff --git a/Library/Homebrew/cask/.rubocop.yml b/Library/Homebrew/cask/.rubocop.yml
deleted file mode 100644
index 4d5672789..000000000
--- a/Library/Homebrew/cask/.rubocop.yml
+++ /dev/null
@@ -1,131 +0,0 @@
-AllCops:
- TargetRubyVersion: 2.0
- Exclude:
- - '**/.simplecov'
- - '**/Casks/**/*'
- - '**/vendor/**/*'
-
-Metrics/AbcSize:
- Enabled: false
-
-Metrics/ClassLength:
- Enabled: false
-
-Metrics/CyclomaticComplexity:
- Enabled: false
-
-Metrics/LineLength:
- Enabled: false
-
-Metrics/MethodLength:
- Enabled: false
-
-Metrics/ModuleLength:
- CountComments: false
- Exclude:
- - 'lib/hbc/locations.rb'
- - 'lib/hbc/macos.rb'
- - 'lib/hbc/utils.rb'
-
-Metrics/PerceivedComplexity:
- Enabled: false
-
-Style/AlignHash:
- EnforcedHashRocketStyle: table
- EnforcedColonStyle: table
-
-Style/BarePercentLiterals:
- EnforcedStyle: percent_q
-
-Style/BlockDelimiters:
- EnforcedStyle: semantic
- FunctionalMethods:
- - expect
- - let
- - let!
- - subject
- - watch
- - inject
- - map
- - map!
- - collect
- - collect!
- - reject
- - reject!
- - delete_if
- - with_object
- ProceduralMethods:
- - after
- - at_exit
- - before
- - benchmark
- - bm
- - bmbm
- - capture_io
- - capture_output
- - capture_subprocess_io
- - chdir
- - context
- - create
- - define_method
- - define_singleton_method
- - each_with_object
- - fork
- - measure
- - new
- - open
- - realtime
- - shutup
- - tap
- - each
- - reverse_each
- IgnoredMethods:
- - it
- - its
- - lambda
- - proc
-
-Style/ClassAndModuleChildren:
- EnforcedStyle: nested
-
-Style/Documentation:
- Enabled: false
-
-Style/FileName:
- Regex: !ruby/regexp /^((([\dA-Z]+|[\da-z]+)(_([\dA-Z]+|[\da-z]+))*|(\-\-)?([\dA-Z]+|[\da-z]+)(-([\dA-Z]+|[\da-z]+))*))(\.rb)?$/
-
-Style/HashSyntax:
- EnforcedStyle: ruby19_no_mixed_keys
-
-Style/IndentArray:
- EnforcedStyle: align_brackets
-
-Style/IndentHash:
- EnforcedStyle: align_braces
-
-Style/PercentLiteralDelimiters:
- PreferredDelimiters:
- '%': '{}'
- '%i': '{}'
- '%q': '{}'
- '%Q': '{}'
- '%r': '{}'
- '%s': '()'
- '%w': '[]'
- '%W': '[]'
- '%x': '()'
-
-Style/RaiseArgs:
- EnforcedStyle: exploded
-
-Style/RegexpLiteral:
- EnforcedStyle: percent_r
-
-Style/StringLiterals:
- EnforcedStyle: double_quotes
-
-Style/StringLiteralsInInterpolation:
- EnforcedStyle: double_quotes
-
-Style/TrailingCommaInLiteral:
- EnforcedStyleForMultiline: comma