forked from ianfixes/nmea_plus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.rubocop.yml
67 lines (51 loc) · 1.17 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
AllCops:
Exclude:
- '*.gemspec'
- 'spec/*.rb'
- '**/generated_parser/*'
inherit_from: .rubocop_todo.yml
Metrics/LineLength:
Description: Limit lines to 80 characters.
StyleGuide: https://github.com/bbatsov/ruby-style-guide#80-character-limits
Enabled: true
Max: 130
# Configuration parameters: CountComments.
Metrics/ClassLength:
Enabled: false
Max: 400
Metrics/AbcSize:
Enabled: false
Max: 50
Metrics/MethodLength:
Enabled: false
Max: 50
# Configuration parameters: CountKeywordArgs.
Metrics/ParameterLists:
Max: 7
Style/BlockComments:
Enabled: false
Style/ColonMethodCall:
Enabled: false
Style/EmptyLinesAroundClassBody:
Enabled: false
Style/EmptyLinesAroundMethodBody:
Enabled: false
Style/EmptyLinesAroundModuleBody:
Enabled: false
# Configuration parameters: AllowForAlignment.
Style/ExtraSpacing:
Enabled: false
# Configuration parameters: EnforcedStyle, SupportedStyles.
Style/FormatString:
Enabled: false
# Offense count: 1
Metrics/CyclomaticComplexity:
Enabled: false
Max: 11
# Offense count: 1
Metrics/PerceivedComplexity:
Enabled: false
Max: 14
# Cop supports --auto-correct.
Style/RedundantSelf:
Enabled: false