-
Notifications
You must be signed in to change notification settings - Fork 9
/
.rubocop_todo.yml
103 lines (89 loc) · 2.97 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
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2016-04-07 16:36:02 +0200 using RuboCop version 0.39.0.
# 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: 1
Lint/AmbiguousOperator:
Exclude:
- 'spec/dummy/config/application.rb'
# Offense count: 1
Lint/AmbiguousRegexpLiteral:
Exclude:
- 'app/helpers/refinery/elasticsearch/search_helper.rb'
# Offense count: 5
# Configuration parameters: AllowSafeAssignment.
Lint/AssignmentInCondition:
Exclude:
- 'app/models/concerns/refinery/elasticsearch/searchable.rb'
- 'bin/spring'
- 'lib/refinery/elasticsearch.rb'
# Offense count: 7
Lint/HandleExceptions:
Exclude:
- 'app/decorators/models/refinery/image_decorator.rb'
- 'app/decorators/models/refinery/page_decorator.rb'
- 'app/decorators/models/refinery/page_part_decorator.rb'
- 'app/decorators/models/refinery/post_decorator.rb'
- 'app/decorators/models/refinery/resource_decorator.rb'
- 'bin/rake'
- 'bin/rspec'
# Offense count: 1
Lint/UselessAssignment:
Exclude:
- 'lib/refinery/elasticsearch.rb'
# Offense count: 4
Metrics/AbcSize:
Max: 43
# Offense count: 60
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes.
# URISchemes: http, https
Metrics/LineLength:
Max: 473
# Offense count: 8
# Configuration parameters: CountComments.
Metrics/MethodLength:
Max: 45
# Offense count: 1
# Configuration parameters: CountComments.
Metrics/ModuleLength:
Max: 133
# Offense count: 1
Style/AsciiComments:
Exclude:
- 'spec/dummy/config/initializers/refinery/i18n.rb'
# Offense count: 13
Style/Documentation:
Exclude:
- 'spec/**/*'
- 'test/**/*'
- 'app/controllers/refinery/elasticsearch/search_controller.rb'
- 'app/helpers/refinery/elasticsearch/search_helper.rb'
- 'app/models/concerns/refinery/elasticsearch/searchable.rb'
- 'lib/generators/refinery/elasticsearch/elasticsearch_generator.rb'
- 'lib/refinery/elasticsearch-acts_as_indexed-connector.rb'
- 'lib/refinery/elasticsearch.rb'
- 'lib/refinery/elasticsearch/configuration.rb'
- 'lib/refinery/elasticsearch/engine.rb'
- 'lib/refinery/elasticsearch/result.rb'
- 'lib/refinery/elasticsearch/results.rb'
# Offense count: 2
# Configuration parameters: ExpectMatchingDefinition, Regex, IgnoreExecutableScripts.
Style/FileName:
Exclude:
- 'lib/refinery/elasticsearch-acts_as_indexed-connector.rb'
- 'lib/refinerycms-elasticsearch.rb'
# Offense count: 1
Style/MultilineBlockChain:
Exclude:
- 'spec/spec_helper.rb'
# Offense count: 1
# Configuration parameters: NamePrefix, NamePrefixBlacklist, NameWhitelist.
# NamePrefix: is_, has_, have_
# NamePrefixBlacklist: is_, has_, have_
# NameWhitelist: is_a?
Style/PredicateName:
Exclude:
- 'lib/refinery/elasticsearch/result.rb'