brew/Library/.rubocop_rspec.yml

40 lines
837 B
YAML
Raw Normal View History

inherit_from: ./.rubocop.yml
AllCops:
Include:
- '**/cmd/**/*.rb'
- '**/lib/**/*.rb'
- '**/spec/**/*.rb'
Exclude:
- '**/vendor/**/*'
# Intentionally disabled as it doesn't fit with our code style.
RSpec/AnyInstance:
Enabled: false
2019-08-05 13:56:51 +01:00
RSpec/ImplicitBlockExpectation:
Enabled: false
2019-11-27 13:09:21 +00:00
RSpec/SubjectStub:
Enabled: false
# TODO: try to enable these (also requires fixing Homebrew/bundle)
RSpec/ContextWording:
Enabled: false
RSpec/DescribeClass:
Enabled: false
2019-07-25 20:55:17 +01:00
RSpec/LeakyConstantDeclaration:
Enabled: false
RSpec/MessageSpies:
Enabled: false
2020-02-11 12:46:49 +00:00
RSpec/RepeatedDescription:
Enabled: false
RSpec/RepeatedExampleGroupDescription:
Enabled: false
# TODO: try to reduce these (also requires fixing Homebrew/bundle)
RSpec/ExampleLength:
Max: 75
RSpec/MultipleExpectations:
Max: 26
RSpec/NestedGroups:
Max: 5