-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy path.rubocop_todo.yml
111 lines (93 loc) · 2.43 KB
/
.rubocop_todo.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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2016-07-09 11:50:54 +0200 using RuboCop version 0.41.2.
# The point is for the user to remove these configuration records
# one by one as the offenses are removed from the code base.
# Note that changes in the inspected code, or installation of new
# versions of RuboCop, may require this file to be generated again.
# Offense count: 6
# Cop supports --auto-correct.
# Configuration parameters: AlignWith, SupportedStyles, AutoCorrect.
# SupportedStyles: keyword, variable, start_of_line
Lint/EndAlignment:
Exclude:
- 'lib/rpm/dependency.rb'
- 'lib/rpm/file.rb'
- 'lib/rpm/package.rb'
- 'lib/rpm/transaction.rb'
- 'test/test_transaction.rb'
# Offense count: 1
Lint/UnreachableCode:
Exclude:
- 'lib/rpm/transaction.rb'
# Offense count: 11
Lint/UselessAssignment:
Exclude:
- 'lib/rpm.rb'
- 'lib/rpm/package.rb'
- 'lib/rpm/transaction.rb'
- 'lib/rpm/version.rb'
# Offense count: 1
Lint/Void:
Exclude:
- 'test/test_rpm.rb'
# Offense count: 17
Metrics/AbcSize:
Max: 74
# Offense count: 1
Metrics/BlockNesting:
Max: 4
# Offense count: 3
# Configuration parameters: CountComments.
Metrics/ClassLength:
Max: 225
# Offense count: 3
Metrics/CyclomaticComplexity:
Max: 17
# Offense count: 66
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes.
# URISchemes: http, https
Metrics/LineLength:
Max: 129
# Offense count: 21
# Configuration parameters: CountComments.
Metrics/MethodLength:
Max: 57
# Offense count: 1
# Configuration parameters: CountComments.
Metrics/ModuleLength:
Max: 295
# Offense count: 4
# Configuration parameters: CountKeywordArgs.
Metrics/ParameterLists:
Max: 11
# Offense count: 2
Metrics/PerceivedComplexity:
Max: 19
# Offense count: 2
Style/AccessorMethodName:
Exclude:
- 'lib/rpm/match_iterator.rb'
# Offense count: 1
Style/AsciiComments:
Exclude:
- 'lib/rpm/file.rb'
# Offense count: 34
Style/Documentation:
Enabled: false
# Offense count: 2
# Configuration parameters: EnforcedStyle, SupportedStyles.
# SupportedStyles: snake_case, camelCase
Style/MethodName:
Exclude:
- 'lib/rpm/c/rpmprob.rb'
- 'lib/rpm/c/rpmtag.rb'
# Offense count: 3
# Configuration parameters: NamePrefix, NamePrefixBlacklist, NameWhitelist.
# NamePrefix: is_, has_, have_
# NamePrefixBlacklist: is_, has_, have_
# NameWhitelist: is_a?
Style/PredicateName:
Exclude:
- 'spec/**/*'
- 'lib/rpm/file.rb'