forked from rikas/zoho_hub
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.rubocop.yml
More file actions
48 lines (34 loc) · 697 Bytes
/
Copy path.rubocop.yml
File metadata and controls
48 lines (34 loc) · 697 Bytes
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
require: rubocop-rspec
AllCops:
TargetRubyVersion: 2.5.1
Gemspec/RequiredRubyVersion:
Enabled: false
Lint:
Exclude:
- bin/*
# Don't force top level comments in every class
Style/Documentation:
Enabled: false
# Safe navigation is not available in older ruby versions
Style/SafeNavigation:
Enabled: false
# A good line length is 100 chars
Metrics/LineLength:
Max: 100
AllowURI: true
Metrics/BlockLength:
Enabled: false
Metrics/ClassLength:
Max: 300
Metrics/MethodLength:
Max: 20
Metrics/CyclomaticComplexity:
Max: 10
Metrics/PerceivedComplexity:
Max: 10
Metrics/AbcSize:
Max: 30
RSpec/ExampleLength:
Enabled: false
RSpec/MultipleExpectations:
Max: 10