2019-01-21 13:39:11 +00:00
|
|
|
inherit_from: ./.rubocop.yml
|
|
|
|
|
|
2019-03-28 19:16:56 +00:00
|
|
|
AllCops:
|
|
|
|
|
Include:
|
|
|
|
|
- '**/*_spec.rb'
|
|
|
|
|
Exclude:
|
|
|
|
|
- '**/vendor/**/*'
|
|
|
|
|
|
2019-01-21 13:39:11 +00:00
|
|
|
NewFormulaAudit:
|
|
|
|
|
Enabled: true
|
|
|
|
|
|
2019-03-28 19:16:56 +00:00
|
|
|
# Intentionally disabled as it doesn't fit with our code style.
|
2019-01-21 13:39:11 +00:00
|
|
|
RSpec/AnyInstance:
|
|
|
|
|
Enabled: false
|
2019-08-05 13:56:51 +01:00
|
|
|
RSpec/ImplicitBlockExpectation:
|
|
|
|
|
Enabled: false
|
2019-03-28 19:16:56 +00:00
|
|
|
|
|
|
|
|
# TODO: try to enable these (also requires fixing Homebrew/bundle)
|
2019-01-21 13:39:11 +00:00
|
|
|
RSpec/ContextWording:
|
|
|
|
|
Enabled: false
|
|
|
|
|
RSpec/DescribeClass:
|
|
|
|
|
Enabled: false
|
2019-07-25 20:55:17 +01:00
|
|
|
RSpec/LeakyConstantDeclaration:
|
|
|
|
|
Enabled: false
|
2019-01-21 13:39:11 +00:00
|
|
|
RSpec/MessageSpies:
|
|
|
|
|
Enabled: false
|
|
|
|
|
|
2019-03-28 19:16:56 +00:00
|
|
|
# TODO: try to reduce these (also requires fixing Homebrew/bundle)
|
|
|
|
|
RSpec/ExampleLength:
|
|
|
|
|
Max: 75
|
2019-01-21 13:39:11 +00:00
|
|
|
RSpec/MultipleExpectations:
|
|
|
|
|
Max: 26
|
|
|
|
|
RSpec/NestedGroups:
|
|
|
|
|
Max: 5
|