mirror of
https://github.com/wavetermdev/homebrew-cask.git
synced 2026-08-05 13:43:24 -07:00
Move cask-specific rubocop configuration to Casks/.rubocop.yml
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
require: rubocop-cask
|
||||
|
||||
AllCops:
|
||||
Exclude:
|
||||
- '**/Gemfile'
|
||||
@@ -17,57 +15,3 @@ AllCops:
|
||||
- 'test/Casks/**/*'
|
||||
- 'test/plist/**/*'
|
||||
- 'test/support/shared_examples/**/*'
|
||||
|
||||
Metrics/LineLength:
|
||||
Exclude:
|
||||
- '**/Casks/**/*'
|
||||
|
||||
Performance/StringReplacement:
|
||||
Exclude:
|
||||
- '**/Casks/**/*'
|
||||
|
||||
Style/AlignHash:
|
||||
EnforcedHashRocketStyle: table
|
||||
EnforcedColonStyle: table
|
||||
|
||||
Style/BarePercentLiterals:
|
||||
EnforcedStyle: percent_q
|
||||
|
||||
Style/Documentation:
|
||||
Exclude:
|
||||
- '**/Casks/**/*'
|
||||
|
||||
Style/EmptyElse:
|
||||
Exclude:
|
||||
- '**/Casks/**/*'
|
||||
|
||||
Style/FileName:
|
||||
Exclude:
|
||||
- '**/Casks/**/*'
|
||||
|
||||
Style/HashSyntax:
|
||||
EnforcedStyle: hash_rockets
|
||||
|
||||
Style/IndentArray:
|
||||
EnforcedStyle: align_brackets
|
||||
|
||||
Style/IndentHash:
|
||||
EnforcedStyle: align_braces
|
||||
|
||||
Style/PercentLiteralDelimiters:
|
||||
PreferredDelimiters:
|
||||
'%': '{}'
|
||||
'%i': '{}'
|
||||
'%q': '{}'
|
||||
'%Q': '{}'
|
||||
'%r': '{}'
|
||||
'%s': '()'
|
||||
'%w': '[]'
|
||||
'%W': '[]'
|
||||
'%x': '()'
|
||||
|
||||
Style/RegexpLiteral:
|
||||
EnforcedStyle: percent_r
|
||||
|
||||
Style/TrailingComma:
|
||||
EnforcedStyleForMultiline: comma
|
||||
|
||||
@@ -0,0 +1,50 @@
|
||||
require: rubocop-cask
|
||||
|
||||
Metrics/LineLength:
|
||||
Enabled: false
|
||||
|
||||
Performance/StringReplacement:
|
||||
Enabled: false
|
||||
|
||||
Style/AlignHash:
|
||||
EnforcedHashRocketStyle: table
|
||||
EnforcedColonStyle: table
|
||||
|
||||
Style/BarePercentLiterals:
|
||||
EnforcedStyle: percent_q
|
||||
|
||||
Style/Documentation:
|
||||
Enabled: false
|
||||
|
||||
Style/EmptyElse:
|
||||
Enabled: false
|
||||
|
||||
Style/FileName:
|
||||
Enabled: false
|
||||
|
||||
Style/HashSyntax:
|
||||
EnforcedStyle: hash_rockets
|
||||
|
||||
Style/IndentArray:
|
||||
EnforcedStyle: align_brackets
|
||||
|
||||
Style/IndentHash:
|
||||
EnforcedStyle: align_braces
|
||||
|
||||
Style/PercentLiteralDelimiters:
|
||||
PreferredDelimiters:
|
||||
'%': '{}'
|
||||
'%i': '{}'
|
||||
'%q': '{}'
|
||||
'%Q': '{}'
|
||||
'%r': '{}'
|
||||
'%s': '()'
|
||||
'%w': '[]'
|
||||
'%W': '[]'
|
||||
'%x': '()'
|
||||
|
||||
Style/RegexpLiteral:
|
||||
EnforcedStyle: percent_r
|
||||
|
||||
Style/TrailingComma:
|
||||
EnforcedStyleForMultiline: comma
|
||||
Reference in New Issue
Block a user