forked from projectblacklight/arclight
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop.yml
43 lines (35 loc) · 869 Bytes
/
.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
require: rubocop-rspec
inherit_from:
- .rubocop_todo.yml
AllCops:
Exclude:
- '.internal_test_app/**/*'
- 'bin/**/*'
- 'db/**/*'
- 'lib/generators/arclight/templates/**/*'
- 'vendor/**/*'
- 'node_modules/**/*'
TargetRubyVersion: 2.4
DisplayCopNames: true
Metrics/ModuleLength:
Exclude:
- 'app/helpers/arclight_helper.rb'
Metrics/BlockLength:
Exclude:
- 'arclight.gemspec'
- 'lib/arclight/traject/ead2_config.rb'
- 'lib/tasks/**/*'
- 'spec/features/traject/ead2_indexing_spec.rb'
- 'spec/helpers/arclight_helper_spec.rb'
- 'spec/features/collection_page_spec.rb'
- 'spec/**/*'
- 'tasks/**/*'
Metrics/LineLength:
Max: 160
Rails:
Enabled: true
Bundler/DuplicatedGem:
Enabled: false
Style/FormatStringToken:
Exclude:
- 'spec/test_app_templates/lib/generators/test_app_generator.rb'