This repository has been archived by the owner on Sep 24, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.rubocop_todo.yml
88 lines (77 loc) · 2.53 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
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2019-05-21 10:33:28 -0500 using RuboCop version 0.70.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: 6
Metrics/AbcSize:
Max: 30
# Offense count: 13
# Configuration parameters: CountComments, ExcludedMethods.
# ExcludedMethods: refine
Metrics/BlockLength:
Max: 111
# Offense count: 1
Metrics/CyclomaticComplexity:
Max: 7
# Offense count: 17
# Configuration parameters: CountComments, ExcludedMethods.
Metrics/MethodLength:
Max: 22
# Offense count: 1
Metrics/PerceivedComplexity:
Max: 8
# Offense count: 4
Naming/AccessorMethodName:
Exclude:
- 'lib/was/registrar/sync_crawl_object.rb'
- 'lib/was/utilities/dor_utilities.rb'
# Offense count: 1
# Configuration parameters: NamePrefix, NamePrefixBlacklist, NameWhitelist, MethodDefinitionMacros.
# NamePrefix: is_, has_, have_
# NamePrefixBlacklist: is_, has_, have_
# NameWhitelist: is_a?
# MethodDefinitionMacros: define_method, define_singleton_method
Naming/PredicateName:
Exclude:
- 'spec/**/*'
- 'lib/was/registrar/register_object.rb'
# Offense count: 2
# Configuration parameters: EnforcedStyle.
# SupportedStyles: slashes, arguments
Rails/FilePath:
Exclude:
- 'config/application.rb'
- 'config/environments/development.rb'
# Offense count: 5
# Configuration parameters: Include.
# Include: app/**/*.rb, config/**/*.rb, db/**/*.rb, lib/**/*.rb
Rails/Output:
Exclude:
- 'lib/was/registrar/register_crawl_object_from_file.rb'
# Offense count: 14
Style/Documentation:
Exclude:
- 'spec/**/*'
- 'test/**/*'
- 'app/controllers/application_controller.rb'
- 'app/controllers/importer_controller.rb'
- 'app/controllers/seeds_controller.rb'
- 'app/helpers/application_helper.rb'
- 'app/helpers/crawls_helper.rb'
- 'app/models/application_record.rb'
- 'config/application.rb'
- 'lib/was/importer/data_importer.rb'
- 'lib/was/importer/data_importer_from_text.rb'
- 'lib/was/importer/data_importer_results.rb'
- 'lib/was/importer/data_importer_verifier.rb'
- 'lib/was/importer/metadata_extractor.rb'
- 'lib/was/registrar/register_seed_object.rb'
- 'lib/was/utilities/dor_utilities.rb'
# Offense count: 2
# Configuration parameters: MinBodyLength.
Style/GuardClause:
Exclude:
- 'lib/was/registrar/register_object.rb'