brew/Library/.rubocop_rspec.yml
Mike McQuaid 75257886f2
Cleanup some RSpec tests
Fix some Rubocop RSpec checks, update some values and improve
documentation.
2019-03-28 19:16:56 +00:00

31 lines
588 B
YAML

inherit_from: ./.rubocop.yml
AllCops:
Include:
- '**/*_spec.rb'
Exclude:
- '**/vendor/**/*'
NewFormulaAudit:
Enabled: true
# Intentionally disabled as it doesn't fit with our code style.
RSpec/AnyInstance:
Enabled: false
# TODO: try to enable these (also requires fixing Homebrew/bundle)
RSpec/ContextWording:
Enabled: false
RSpec/DescribeClass:
Enabled: false
RSpec/MessageSpies:
Enabled: false
# TODO: try to reduce these (also requires fixing Homebrew/bundle)
RSpec/ExampleLength:
Max: 75
RSpec/MultipleExpectations:
Max: 26
RSpec/NestedGroups:
Max: 5