forked from CDCgov/SDP-Vocabulary-Service
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop_todo.yml
123 lines (110 loc) · 4.07 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
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2017-11-20 17:39:28 -0500 using RuboCop version 0.48.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: 3
Lint/AmbiguousBlockAssociation:
Exclude:
- 'app/models/comment.rb'
- 'app/models/notification.rb'
# Offense count: 1
# Cop supports --auto-correct.
Lint/UnneededDisable:
Exclude:
- 'test/support/capybara.rb'
# Offense count: 4
# Cop supports --auto-correct.
# Configuration parameters: NilOrEmpty, NotPresent, UnlessPresent.
Rails/Blank:
Exclude:
- 'lib/tasks/spreadsheet.rake'
# Offense count: 1
Rails/FilePath:
Exclude:
- 'config/environments/development.rb'
# Offense count: 7
# Cop supports --auto-correct.
# Configuration parameters: NotNilAndNotEmpty, NotBlank, UnlessBlank.
Rails/Present:
Exclude:
- 'app/mailers/comments_mailer.rb'
- 'app/models/concerns/oid_generator.rb'
- 'app/models/user.rb'
- 'lib/sdp/comments_notifier.rb'
- 'lib/tasks/admin.rake'
# Offense count: 7
# Configuration parameters: Include.
# Include: db/migrate/*.rb
Rails/ReversibleMigration:
Exclude:
- 'db/migrate/20161027190235_drop_concepts_and_concepts_response_set.rb'
- 'db/migrate/20170214183518_change_default_status_to_draft.rb'
- 'db/migrate/20170327202207_attribution_to_surveys.rb'
# Offense count: 23
# Configuration parameters: Blacklist.
# Blacklist: decrement!, decrement_counter, increment!, increment_counter, toggle!, touch, update_all, update_attribute, update_column, update_columns, update_counters
Rails/SkipsModelValidations:
Exclude:
- 'app/models/concerns/oid_generator.rb'
- 'app/models/concerns/versionable.rb'
- 'db/migrate/20161103202135_add_response_set_version.rb'
- 'db/migrate/20161107220951_add_question_version.rb'
- 'db/migrate/20161128165704_add_response_type_to_question.rb'
- 'db/migrate/20161212180833_add_versions_to_forms.rb'
- 'db/migrate/20170214183518_change_default_status_to_draft.rb'
- 'db/migrate/20170228204340_add_source_to_response_set.rb'
- 'db/migrate/20171016171840_change_form_independent_id_to_section.rb'
- 'db/migrate/20171020135709_change_concern_types_to_section.rb'
- 'db/migrate/20171103123808_rename_question_type_to_category.rb'
- 'features/step_definitions/question_steps.rb'
- 'features/step_definitions/response_set_steps.rb'
# Offense count: 161
Style/Documentation:
Enabled: false
# Offense count: 10
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.
# SupportedStyles: compact, expanded
Style/EmptyMethod:
Exclude:
- 'app/controllers/landing_controller.rb'
- 'app/controllers/questions_controller.rb'
- 'app/controllers/response_sets_controller.rb'
- 'app/controllers/sections_controller.rb'
- 'app/controllers/surveys_controller.rb'
- 'app/serializers/es_response_set_serializer.rb'
- 'app/serializers/es_section_serializer.rb'
- 'app/serializers/es_survey_serializer.rb'
# Offense count: 4
# Configuration parameters: EnforcedStyle, SupportedStyles.
# SupportedStyles: separated, grouped
Style/MixinGrouping:
Exclude:
- 'app/models/question.rb'
- 'app/models/response_set.rb'
- 'app/models/section.rb'
- 'app/models/survey.rb'
# Offense count: 2
# Cop supports --auto-correct.
Style/MultilineIfModifier:
Exclude:
- 'app/serializers/es_survey_serializer.rb'
# Offense count: 7
# Cop supports --auto-correct.
# Configuration parameters: PreferredDelimiters.
Style/PercentLiteralDelimiters:
Exclude:
- 'app/controllers/comments_controller.rb'
- 'app/models/response_set.rb'
- 'config/spring.rb'
- 'lib/sdp/importers/redcap.rb'
- 'test/unit/lib/simple_search_test.rb'
# Offense count: 29
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.
# SupportedStyles: percent, brackets
Style/SymbolArray:
Enabled: false