forked from rgeo/rgeo-activerecord
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.rubocop_todo.yml
90 lines (76 loc) · 2.31 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
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2015-12-25 12:59:50 -0700 using RuboCop version 0.35.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: 1
Lint/HandleExceptions:
Exclude:
- 'test/test_helper.rb'
# Offense count: 2
# Cop supports --auto-correct.
# Configuration parameters: AllowUnusedKeywordArguments, IgnoreEmptyMethods.
Lint/UnusedMethodArgument:
Exclude:
- 'lib/rgeo/active_record/geometry_mixin.rb'
- 'test/support/fake_record.rb'
# Offense count: 1
Lint/Void:
Exclude:
- 'lib/rgeo/active_record/common_adapter_elements.rb'
# Offense count: 2
Metrics/AbcSize:
Max: 41
# Offense count: 2
Metrics/CyclomaticComplexity:
Max: 11
# Offense count: 52
# Configuration parameters: AllowURI, URISchemes.
Metrics/LineLength:
Max: 224
# Offense count: 6
# Configuration parameters: CountComments.
Metrics/MethodLength:
Max: 24
# Offense count: 1
# Configuration parameters: CountComments.
Metrics/ModuleLength:
Max: 147
# Offense count: 6
# Cop supports --auto-correct.
Style/Alias:
Exclude:
- 'lib/rgeo/active_record/arel_spatial_queries.rb'
# Offense count: 1
Style/CaseEquality:
Exclude:
- 'test/spatial_factory_store_test.rb'
# Offense count: 8
# Configuration parameters: Exclude.
Style/Documentation:
Exclude:
- 'spec/**/*'
- 'test/**/*'
- 'lib/rgeo/active_record/arel_spatial_queries.rb'
- 'lib/rgeo/active_record/common_adapter_elements.rb'
- 'lib/rgeo/active_record/geometry_mixin.rb'
- 'lib/rgeo/active_record/spatial_expressions.rb'
- 'lib/rgeo/active_record/spatial_factory_store.rb'
- 'lib/rgeo/active_record/version.rb'
# Offense count: 1
# Configuration parameters: Exclude.
Style/FileName:
Exclude:
- 'lib/rgeo-activerecord.rb'
# Offense count: 2
# Configuration parameters: EnforcedStyle, SupportedStyles.
Style/MethodName:
Enabled: false
# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: ExactNameMatch, AllowPredicates, AllowDSLWriters, IgnoreClassMethods, Whitelist.
Style/TrivialAccessors:
Exclude:
- 'lib/rgeo/active_record/spatial_factory_store.rb'