-
Notifications
You must be signed in to change notification settings - Fork 4
/
.rubocop.yml
45 lines (45 loc) · 1.27 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
Layout/LineLength:
Max: 200
Metrics/ClassLength:
Max: 2000
Metrics/MethodLength:
Max: 200
Metrics/BlockLength:
Max: 50
Metrics/AbcSize:
Max: 100
Metrics/ParameterLists:
Max: 10
MaxOptionalParameters: 5
Metrics/CyclomaticComplexity:
Max: 30
Metrics/PerceivedComplexity:
Max: 30
Metrics/ModuleLength:
Max: 225
Style/RedundantBegin:
Enabled: false
Style/Documentation:
Enabled: false
Style/ZeroLengthPredicate:
Enabled: false
Naming/AccessorMethodName:
Enabled: false
Style/NumericPredicate:
Enabled: false
Style/ClassVars:
Enabled: false
Style/PercentLiteralDelimiters:
Enabled: false
Style/MutableConstant:
Enabled: false
Style/FrozenStringLiteralComment:
Enabled: false
Style/OptionalBooleanParameter:
AllowedMethods: ['initialize', 'get_variation_if_whitelisting_passed', 'whitelisting_or_storage_for_grouped_campaigns?', 'presegmentation?', 'get_variation_allotted', 'save_user_storage', 'get_stored_variation', 'get_variation_of_campaign_for_user', 'get_user_storage', 'evaluate_whitelisting', 'flush', 'log', 'generator_for', 'evaluate', 'get_settings_file', 'user_part_of_campaign?', 'bucket_user_to_variation', 'get_bucket_value_for_user']
Style/DoubleNegation:
Enabled: false
Style/CombinableLoops:
Enabled: false
Security/JSONLoad:
Enabled: false