Simplify .rubocop_rspec.yml.

This commit is contained in:
Markus Reiter 2020-08-31 04:24:43 +02:00
parent 64a533bfdd
commit 6d6c59a1fd
2 changed files with 1 additions and 13 deletions

View File

@ -14,7 +14,7 @@ AllCops:
NewCops: enable NewCops: enable
Exclude: Exclude:
- 'Homebrew/bin/*' - 'Homebrew/bin/*'
- 'Homebrew/**/vendor/**/*' - 'Homebrew/vendor/**/*'
Cask/Desc: Cask/Desc:
Description: 'Ensure that the desc stanza conforms to various content and style checks.' Description: 'Ensure that the desc stanza conforms to various content and style checks.'

View File

@ -1,17 +1,5 @@
inherit_from: ./.rubocop.yml inherit_from: ./.rubocop.yml
AllCops:
Include:
- '**/cmd/**/*.rb'
- '**/lib/**/*.rb'
- '**/spec/**/*.rb'
Exclude:
- '**/vendor/**/*'
# allow style to be disabled in non-formulae code
Style/DisableCopsWithinSourceCodeDirective:
Enabled: false
# Intentionally disabled as it doesn't fit with our code style. # Intentionally disabled as it doesn't fit with our code style.
RSpec/AnyInstance: RSpec/AnyInstance:
Enabled: false Enabled: false