-
Notifications
You must be signed in to change notification settings - Fork 316
/
.rubocop_todo.yml
155 lines (137 loc) · 4.92 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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
# This configuration was generated by
# `rubocop --auto-gen-config --auto-gen-only-exclude`
# on 2020-04-13 14:53:09 +0200 using RuboCop version 0.80.1.
# 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: 106
# Cop supports --auto-correct.
# Configuration parameters: AutoCorrect, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
# URISchemes: http, https
Layout/LineLength:
Max: 284
# Offense count: 1
Lint/Loop:
Exclude:
- 'lib/jekyll-import/importers/tumblr.rb'
# Offense count: 1
Lint/NestedMethodDefinition:
Exclude:
- 'lib/jekyll-import/importers/posterous.rb'
# Offense count: 3
Lint/UriEscapeUnescape:
Exclude:
- 'lib/jekyll-import/importers/blogger.rb'
- 'lib/jekyll-import/importers/tumblr.rb'
# Offense count: 3
Lint/UselessAssignment:
Exclude:
- 'lib/jekyll-import/importers/easyblog.rb'
# Offense count: 39
Metrics/AbcSize:
Max: 140
# Offense count: 6
# Configuration parameters: CountComments, Max, ExcludedMethods.
# ExcludedMethods: refine
Metrics/BlockLength:
Exclude:
- !ruby/regexp /^spec/
- 'jekyll-import.gemspec'
- 'lib/jekyll-import/importers/dotclear.rb'
- 'lib/jekyll-import/importers/drupal_common.rb'
- 'lib/jekyll-import/importers/pluxml.rb'
- 'lib/jekyll-import/importers/posterous.rb'
- 'lib/jekyll-import/importers/wordpressdotcom.rb'
# Offense count: 4
# Configuration parameters: CountBlocks, Max.
Metrics/BlockNesting:
Exclude:
- 'lib/jekyll-import/importers/blogger.rb'
# Offense count: 3
# Configuration parameters: CountComments, Max.
Metrics/ClassLength:
Exclude:
- 'lib/jekyll-import/importers/s9y_database.rb'
- 'lib/jekyll-import/importers/tumblr.rb'
- 'lib/jekyll-import/importers/wordpress.rb'
# Offense count: 17
# Configuration parameters: Max.
Metrics/CyclomaticComplexity:
Exclude:
- 'lib/jekyll-import/importers/blogger.rb'
- 'lib/jekyll-import/importers/dotclear.rb'
- 'lib/jekyll-import/importers/drupal_common.rb'
- 'lib/jekyll-import/importers/ghost.rb'
- 'lib/jekyll-import/importers/mt.rb'
- 'lib/jekyll-import/importers/roller.rb'
- 'lib/jekyll-import/importers/s9y_database.rb'
- 'lib/jekyll-import/importers/tumblr.rb'
- 'lib/jekyll-import/importers/typo.rb'
- 'lib/jekyll-import/importers/wordpress.rb'
# Offense count: 39
# Configuration parameters: CountComments, ExcludedMethods.
Metrics/MethodLength:
Max: 124
# Offense count: 1
# Configuration parameters: Max, CountKeywordArgs.
Metrics/ParameterLists:
Exclude:
- 'lib/jekyll-import/importers/roller.rb'
# Offense count: 12
# Configuration parameters: Max.
Metrics/PerceivedComplexity:
Exclude:
- 'lib/jekyll-import/importers/blogger.rb'
- 'lib/jekyll-import/importers/dotclear.rb'
- 'lib/jekyll-import/importers/drupal_common.rb'
- 'lib/jekyll-import/importers/ghost.rb'
- 'lib/jekyll-import/importers/mt.rb'
- 'lib/jekyll-import/importers/roller.rb'
- 'lib/jekyll-import/importers/s9y_database.rb'
- 'lib/jekyll-import/importers/tumblr.rb'
- 'lib/jekyll-import/importers/wordpress.rb'
# Offense count: 29
# Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames.
# AllowedNames: io, id, to, by, on, in, at, ip, db, os, pp
Naming/MethodParameterName:
Enabled: false
# Offense count: 1
Security/Open:
Exclude:
- 'lib/jekyll-import/importers/rss.rb'
# Offense count: 52
# Configuration parameters: EnforcedStyle.
# SupportedStyles: annotated, template, unannotated
Style/FormatStringToken:
Exclude:
- 'lib/jekyll-import/importers/blogger.rb'
- 'lib/jekyll-import/importers/easyblog.rb'
- 'lib/jekyll-import/importers/enki.rb'
- 'lib/jekyll-import/importers/joomla.rb'
- 'lib/jekyll-import/importers/joomla3.rb'
- 'lib/jekyll-import/importers/posterous.rb'
- 'lib/jekyll-import/importers/roller.rb'
- 'lib/jekyll-import/importers/s9y.rb'
- 'lib/jekyll-import/importers/s9y_database.rb'
- 'lib/jekyll-import/importers/typo.rb'
- 'lib/jekyll-import/importers/wordpress.rb'
- 'lib/jekyll-import/importers/wordpressdotcom.rb'
# Offense count: 18
# Cop supports --auto-correct.
Style/IfUnlessModifier:
Exclude:
- 'lib/jekyll-import/importers/blogger.rb'
- 'lib/jekyll-import/importers/ghost.rb'
- 'lib/jekyll-import/importers/google_reader.rb'
- 'lib/jekyll-import/importers/jrnl.rb'
- 'lib/jekyll-import/importers/marley.rb'
- 'lib/jekyll-import/importers/pluxml.rb'
- 'lib/jekyll-import/importers/posterous.rb'
- 'lib/jekyll-import/importers/rss.rb'
- 'lib/jekyll-import/importers/s9y.rb'
- 'lib/jekyll-import/importers/s9y_database.rb'
# Offense count: 1
Style/MultilineBlockChain:
Exclude:
- 'lib/jekyll-import/importers/s9y_database.rb'