Simplify .rubocop_rspec.yml
.
This commit is contained in:
parent
64a533bfdd
commit
6d6c59a1fd
@ -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.'
|
||||||
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user