forked from splitio/ruby-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop.yml
71 lines (61 loc) · 1.73 KB
/
.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
Documentation:
Enabled: false
Metrics/AbcSize:
Max: 26
Exclude:
- lib/splitclient-rb/telemetry/memory/memory_synchronizer.rb
Metrics/MethodLength:
Max: 20
Exclude:
- lib/splitclient-rb/telemetry/memory/memory_synchronizer.rb
- lib/splitclient-rb/engine/sync_manager.rb
Metrics/ClassLength:
Max: 150
Exclude:
- lib/splitclient-rb/telemetry/memory/memory_synchronizer.rb
Metrics/CyclomaticComplexity:
Max: 11
Metrics/ParameterLists:
Max: 8
Exclude:
- lib/splitclient-rb/engine/sync_manager.rb
Metrics/LineLength:
Max: 130
Exclude:
- spec/sse/**/*
- spec/integrations/**/*
- spec/engine/sync_manager_spec.rb
- spec/engine/auth_api_client_spec.rb
- spec/telemetry/synchronizer_spec.rb
- spec/splitclient/split_config_spec.rb
- spec/engine/push_manager_spec.rb
Style/BracesAroundHashParameters:
Exclude:
- spec/integrations/push_client_spec.rb
- spec/engine/synchronizer_spec.rb
Metrics/BlockLength:
Exclude:
- spec/**/*
- splitclient-rb.gemspec
Naming/FileName:
Exclude:
- splitclient-rb.gemspec
AllCops:
TargetRubyVersion: 2.3.6
Exclude:
- gemfiles/* # excluded as appraisal generates them with errors
- lib/*
- lib/murmurhash/**/*
- lib/splitclient-rb/*
- lib/splitclient-rb/cache/**/*
- lib/splitclient-rb/clients/**/*
- lib/splitclient-rb/managers/**/*
- lib/splitclient-rb/engine/api/**/*
- lib/splitclient-rb/engine/evaluator/**/*
- lib/splitclient-rb/engine/metrics/**/*
- lib/splitclient-rb/engine/models/**/*
- lib/splitclient-rb/engine/parser/**/*
- spec/telemetry/synchronizer_spec.rb
- lib/splitclient-rb/engine/synchronizer.rb
- tmp/**/*
- lib/splitclient-rb/sse/event_source/client.rb