-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop.yml
162 lines (142 loc) · 3.55 KB
/
.rubocop.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
156
157
158
159
160
161
162
inherit_gem:
bixby: bixby_default.yml
AllCops:
UseCache: true
TargetRubyVersion: 2.5
DisplayCopNames: true
Exclude:
- "bin/*"
- "spec/internal_test_hyku/**/*"
- "app/jobs/hyku_addons/post_migration_fix_work_job.rb"
- "vendor/**/*"
Metrics/ModuleLength:
Max: 165
Metrics/ClassLength:
Max: 160
Style/StructInheritance:
Enabled: false
Style/StringLiterals:
EnforcedStyle: double_quotes
SupportedStyles:
- single_quotes
- double_quotes
Metrics/BlockLength:
Exclude:
- "lib/hyku_addons/engine.rb"
- "lib/tasks/*.rake"
- "spec/**/*.rb"
- "hyku_addons.gemspec"
Layout/LineLength:
Exclude:
- "spec/**/*"
# Not sure if the use of `where.first` is an issue with ActiveFedora, but something to look into
Rails/FindBy:
Enabled: false
RSpec/NestedGroups:
Exclude:
- "spec/**/*.rb"
RSpec/DescribeClass:
Exclude:
- "spec/features/**/*"
- "spec/system/**/*"
- "spec/tasks/**/*"
RSpec/ExampleLength:
Max: 10
Exclude:
- "spec/**/*.rb"
RSpec/LetSetup:
Enabled: false
Rails/OutputSafety:
Enabled: false
Metrics/CyclomaticComplexity:
Enabled: false
Metrics/PerceivedComplexity:
Enabled: false
Rails/HasManyOrHasOneDependent:
Enabled: false
Metrics/AbcSize:
Enabled: false
Style/CommentAnnotation:
Enabled: false
Lint/MissingSuper:
Enabled: false
Rails/ActionControllerTestCase: # (new in 2.14)
Enabled: false
Rails/ActiveRecordCallbacksOrder: # (new in 2.7)
Enabled: false
Rails/AddColumnIndex: # (new in 2.11)
Enabled: false
Rails/AfterCommitOverride: # (new in 2.8)
Enabled: false
Rails/AttributeDefaultBlockValue: # (new in 2.9)
Enabled: false
Rails/CompactBlank: # (new in 2.13)
Enabled: false
Rails/DeprecatedActiveModelErrorsMethods: # (new in 2.14)
Enabled: false
Rails/DotSeparatedKeys: # (new in 2.15)
Enabled: false
Rails/DuplicateAssociation: # (new in 2.14)
Enabled: false
Rails/DuplicateScope: # (new in 2.14)
Enabled: false
Rails/DurationArithmetic: # (new in 2.13)
Enabled: false
Rails/EagerEvaluationLogMessage: # (new in 2.11)
Enabled: false
Rails/ExpandedDateRange: # (new in 2.11)
Enabled: false
Rails/FindById: # (new in 2.7)
Enabled: false
Rails/I18nLazyLookup: # (new in 2.14)
Enabled: false
Rails/I18nLocaleAssignment: # (new in 2.11)
Enabled: false
Rails/I18nLocaleTexts: # (new in 2.14)
Enabled: false
Rails/Inquiry: # (new in 2.7)
Enabled: false
Rails/MailerName: # (new in 2.7)
Enabled: false
Rails/MatchRoute: # (new in 2.7)
Enabled: false
Rails/MigrationClassName: # (new in 2.14)
Enabled: false
Rails/NegateInclude: # (new in 2.7)
Enabled: false
Rails/Pluck: # (new in 2.7)
Enabled: false
Rails/PluckInWhere: # (new in 2.7)
Enabled: false
Rails/RedundantPresenceValidationOnBelongsTo: # (new in 2.13)
Enabled: false
Rails/RedundantTravelBack: # (new in 2.12)
Enabled: false
Rails/RenderInline: # (new in 2.7)
Enabled: false
Rails/RenderPlainText: # (new in 2.7)
Enabled: false
Rails/RootJoinChain: # (new in 2.13)
Enabled: false
Rails/RootPublicPath: # (new in 2.15)
Enabled: false
Rails/ShortI18n: # (new in 2.7)
Enabled: false
Rails/SquishedSQLHeredocs: # (new in 2.8)
Enabled: false
Rails/StripHeredoc: # (new in 2.15)
Enabled: false
Rails/TimeZoneAssignment: # (new in 2.10)
Enabled: false
Rails/ToFormattedS: # (new in 2.15)
Enabled: false
Rails/TransactionExitStatement: # (new in 2.14)
Enabled: false
Rails/UnusedIgnoredColumns: # (new in 2.11)
Enabled: false
Rails/WhereEquals: # (new in 2.9)
Enabled: false
Rails/WhereExists: # (new in 2.7)
Enabled: false
Rails/WhereNot: # (new in 2.8)
Enabled: false