-
Notifications
You must be signed in to change notification settings - Fork 23
/
.rubocop.yml
51 lines (50 loc) · 1.17 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
inherit_from: .rubocop_todo.yml
inherit_gem:
bixby: bixby_default.yml
AllCops:
DisplayCopNames: true
Exclude:
- 'bin/*'
- 'db/schema.rb'
- 'vendor/**/*'
- 'gemfiles/vendor/**/*'
RSpec/ScatteredSetup:
Enabled: false
Metrics/BlockLength:
Exclude:
- 'spec/**/*'
- 'lib/valkyrie/specs/**/*'
- 'tasks/**/*'
- 'db/schema.rb'
- 'Rakefile'
- '*.gemspec'
RSpec/ExampleLength:
Enabled: false
RSpec/MultipleExpectations:
Enabled: false
Rails/TimeZone:
Enabled: false
Rails/RakeEnvironment:
Enabled: false
Rails/ApplicationRecord:
Enabled: false
Naming/PredicateName:
Exclude:
- "lib/valkyrie/resource.rb"
- "lib/valkyrie/persistence/solr/queries/default_paginator.rb"
Lint/UnusedMethodArgument:
AllowUnusedKeywordArguments: true
Naming/FileName:
Exclude:
- 'Appraisals'
- 'Gemfile'
Metrics/MethodLength:
Exclude:
- 'lib/valkyrie/persistence/postgres/persister.rb'
- 'lib/valkyrie/persistence/fedora/persister.rb'
Metrics/CyclomaticComplexity:
Exclude:
- 'lib/valkyrie/persistence/postgres/persister.rb'
RSpec/VerifiedDoubles:
Exclude:
- 'spec/valkyrie/persistence/postgres/metadata_adapter_spec.rb'