-
Notifications
You must be signed in to change notification settings - Fork 28
/
.rubocop.yml
52 lines (39 loc) · 864 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
44
45
46
47
48
49
50
51
52
require: rubocop-rspec
inherit_from:
- .rubocop_todo.yml
AllCops:
DisplayCopNames: true
TargetRubyVersion: 2.2
Exclude:
- "blacklight_oai_provider.gemspec"
Rails:
Enabled: true
Metrics/BlockLength:
Exclude:
- 'spec/**/*'
- "lib/railties/blacklight_oai_provider.rake"
Metrics/LineLength:
Max: 200
Style/StringLiterals:
Enabled: false
Layout/IndentationConsistency:
EnforcedStyle: normal
Rails/OutputSafety:
Enabled: false
# engine_cart block includes conditional, not duplication
Bundler/DuplicatedGem:
Exclude:
- 'Gemfile'
# engine_cart block is following default Rails order
Bundler/OrderedGems:
Exclude:
- 'Gemfile'
RSpec/DescribeClass:
Exclude:
- 'spec/requests/**'
- 'spec/features/**'
Style/Documentation:
Enabled: false
Lint/UnusedMethodArgument:
Exclude:
- 'lib/blacklight_oai_provider/set.rb'