-
-
Notifications
You must be signed in to change notification settings - Fork 102
/
.rubocop.yml
39 lines (32 loc) · 949 Bytes
/
.rubocop.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
inherit_from:
- .rubocop_rspec_base.yml
- .rubocop_todo.yml
# Over time we'd like to get this down, but this is what we're at now.
Metrics/AbcSize:
Max: 28
# Over time we'd like to get this down, but this is what we're at now.
Metrics/BlockLength:
Max: 86
Exclude:
- spec/**/*
# Over time we'd like to get this down, but this is what we're at now.
Metrics/PerceivedComplexity:
Max: 10
Security/MarshalLoad:
Exclude:
- 'lib/rspec/support/spec/in_sub_process.rb'
Style/EvalWithLocation:
Exclude:
# eval is only used here to check syntax
- 'lib/rspec/support/ruby_features.rb'
- 'benchmarks/skip_frames_for_caller_filter.rb'
- 'spec/rspec/support/method_signature_verifier_spec.rb'
Lint/AssignmentInCondition:
Exclude:
# The pattern makes sense here
- 'lib/rspec/support/mutex.rb'
Style/FrozenStringLiteralComment:
Include:
- lib/**/*.rb
Layout/EmptyLineAfterMagicComment:
Enabled: true