-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.rubocop.yml
94 lines (80 loc) · 1.89 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
require: rubocop-rspec
inherit_gem:
bixby: bixby_default.yml
AllCops:
DisplayCopNames: true
TargetRubyVersion: 3.1.3
Exclude:
- 'bin/*'
- 'db/schema.rb'
- 'config/deploy.rb'
- 'vendor/**/*'
- 'tmp/**/*'
- 'log/**/*'
- 'solr/**/*'
Lint/UselessAssignment:
Exclude:
- 'spec/models/index_event_spec.rb'
Metrics/BlockLength:
Exclude:
- 'app/controllers/catalog_controller.rb'
- 'spec/**/*'
- 'config/initializers/*'
- 'lib/tasks/lae.rake'
- 'config/routes.rb'
Metrics/MethodLength:
Exclude:
- 'db/migrate/**/*'
- 'app/indexers/plum_jsonld_converter.rb'
- 'spec/support/stub_plum_catalog.rb'
- 'app/services/solr_document_metadata.rb'
Metrics/ClassLength:
Exclude:
- 'app/indexers/plum_jsonld_converter.rb'
Metrics/AbcSize:
Exclude:
- 'app/indexers/plum_jsonld_converter.rb'
Layout/LineLength:
Exclude:
- 'spec/indexers/plum_jsonld_converter_spec.rb'
RSpec/SubjectStub:
Exclude:
- 'spec/indexers/plum_jsonld_converter_spec.rb'
Rails/Output:
Exclude:
- 'app/models/index_event.rb'
Rails/TimeZone:
Exclude:
- 'lib/tasks/lae.rake'
RSpec/ExampleLength:
Enabled: false
RSpec/MultipleExpectations:
Enabled: false
RSpec/SubjectStub:
Exclude:
- 'spec/workers/plum_event_handler_spec.rb'
- 'spec/indexers/plum_jsonld_converter_spec.rb'
Naming/FileName:
Exclude:
- '**/Gemfile'
- '**/*.rake'
- 'Capfile'
Rails/UnknownEnv:
Enabled: false
Rails/CreateTableWithTimestamps:
Exclude:
- 'db/migrate/20141203210809_create_index_events.rb'
Metrics/ModuleLength:
Exclude:
- app/helpers/application_helper.rb
Rails/OutputSafety:
Exclude:
- app/helpers/application_helper.rb
RSpec/MessageSpies:
Exclude:
- spec/indexers/plum_jsonld_converter_spec.rb
RSpec/DescribeClass:
Exclude:
- spec/i18n_spec.rb
Layout/IndentationConsistency:
EnforcedStyle: indented_internal_methods