forked from yast/yast-network
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop.yml
87 lines (68 loc) · 1.67 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
# use the shared Yast defaults
inherit_from:
/usr/share/YaST2/data/devtools/data/rubocop_yast_style.yml
# Offense count: 221
Metrics/AbcSize:
Max: 312
# Offense count: 14
Metrics/BlockNesting:
Max: 5
# Offense count: 5
# Configuration parameters: CountComments.
Metrics/ClassLength:
Max: 2000
# some includes are really long
Metrics/ModuleLength:
Max: 1500
# Offense count: 81
Metrics/CyclomaticComplexity:
Max: 50
# Offense count: 15
# Configuration parameters: AllowURI, URISchemes.
Metrics/LineLength:
Max: 1285
# Offense count: 321
# Configuration parameters: CountComments.
Metrics/MethodLength:
Max: 494
# Offense count: 1
# Configuration parameters: CountKeywordArgs.
Metrics/ParameterLists:
Max: 6
# Offense count: 74
Metrics/PerceivedComplexity:
Max: 59
# Offense count: 436
# Configuration parameters: EnforcedStyle, SupportedStyles.
Style/MethodName:
Enabled: false
# Offense count: 94
Style/Documentation:
Enabled: false
# Offense count: 436
# Configuration parameters: EnforcedStyle, SupportedStyles.
Style/MethodName:
Enabled: false
# Offense count: 97
# Configuration parameters: EnforcedStyle, SupportedStyles.
Style/VariableName:
Enabled: false
# Offense count: 1
Style/ClassVars:
Enabled: false
# Offense count: 20
# Configuration parameters: Exclude.
Style/FileName:
Enabled: false
# Offense count: 1
# Configuration parameters: NamePrefix, NamePrefixBlacklist.
Style/PredicateName:
Enabled: false
# Offense count: 1
Style/AccessorMethodName:
Enabled: false
# Offense count: 7
# Cop supports --auto-correct.
# Configuration parameters: ExactNameMatch, AllowPredicates, AllowDSLWriters, Whitelist.
Style/TrivialAccessors:
Enabled: false