Be explicit about what we are excluding in RuboCop

This allows us to consistently lint test casks, and also will make
future updates to the list of files we lint a bit easier.
This commit is contained in:
Josh Hagins 2016-01-03 17:11:07 -05:00
parent 36e915b826
commit ea1c6d2948
1 changed files with 14 additions and 7 deletions

View File

@ -5,18 +5,25 @@ AllCops:
- '**/Gemfile'
- '**/Rakefile'
- '**/brew-cask.rb'
- '**/spec/*.rb'
- '**/spec/support/*.rb'
- '**/test/*.rb'
- '**/test/support/*.rb'
- 'developer/**/*'
- 'lib/**/*'
- 'spec/**/*'
- 'test/**/*'
- 'spec/cask/**/*'
- 'test/cask/**/*'
- 'test/Casks/**/*'
- 'test/plist/**/*'
- 'test/support/shared_examples/**/*'
Metrics/LineLength:
Exclude:
- 'Casks/**/*'
- '**/Casks/**/*'
Performance/StringReplacement:
Exclude:
- 'Casks/**/*'
- '**/Casks/**/*'
Style/AlignHash:
EnforcedHashRocketStyle: table
@ -27,15 +34,15 @@ Style/BarePercentLiterals:
Style/Documentation:
Exclude:
- 'Casks/**/*'
- '**/Casks/**/*'
Style/EmptyElse:
Exclude:
- 'Casks/**/*'
- '**/Casks/**/*'
Style/FileName:
Exclude:
- 'Casks/**/*'
- '**/Casks/**/*'
Style/HashSyntax:
EnforcedStyle: hash_rockets