-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop.yml
67 lines (67 loc) · 1.94 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
AllCops:
NewCops: enable
TargetRubyVersion: 2.6
Exclude:
- 'db/**/*'
- 'vendor/**/*'
- 'node_modules/node-sass/src/libsass/contrib/libsass.spec'
GlobalVars:
AllowedVariables:
- $CFLAGS
- $LIBS
Layout/LineLength:
Max: 181
Metrics/AbcSize:
Exclude:
- 'bin/importer'
Metrics/BlockLength:
Max: 195
Metrics/ClassLength:
Max: 209
Metrics/MethodLength:
Exclude:
- 'lib/extensions/allinson_flex/prepend_permission_templates_controller.rb'
- 'bin/importer'
Metrics/PerceivedComplexity:
Exclude:
- 'lib/extensions/allinson_flex/prepend_permission_templates_controller.rb'
Style/ClassAndModuleChildren:
Exclude:
- 'app/models/qa/local_authority.rb'
- 'app/models/qa/local_authority_entry.rb'
- 'test/test_helper.rb'
Style/Documentation:
Exclude:
- 'spec/**/*'
- 'test/**/*'
- 'app/controllers/application_controller.rb'
- 'app/controllers/catalog_controller.rb'
- 'app/helpers/application_helper.rb'
- 'app/helpers/hyrax_helper.rb'
- 'app/mailers/application_mailer.rb'
- 'app/models/ability.rb'
- 'app/models/application_record.rb'
- 'app/models/qa.rb'
- 'app/models/qa/local_authority_entry.rb'
- 'app/models/search_builder.rb'
- 'app/models/solr_document.rb'
- 'app/models/user.rb'
- 'config/application.rb'
- 'lib/extensions/allinson_flex/prepend_admin_set_form.rb'
- 'lib/extensions/allinson_flex/prepend_permission_template_form.rb'
- 'lib/extensions/allinson_flex/prepend_permission_templates_controller.rb'
- 'app/presenters/hyrax/item_presenter.rb'
- 'app/models/concerns/bulkrax/has_local_processing.rb'
Style/MixinUsage:
Exclude:
- 'bin/setup'
- 'bin/update'
- 'spec/features/create_item_spec.rb'
- 'spec/features/allinson_flex_spec.rb'
- 'spec/features/bulkrax_spec.rb'
Style/SoleNestedConditional:
Exclude:
- 'config/routes.rb'
Style/StringConcatenation:
Exclude:
- 'config/initializers/sidekiq.rb'