forked from psu-libraries/scholarsphere
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop.yml
47 lines (37 loc) · 888 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
inherit_gem:
niftany: niftany_rubocop.yml
inherit_from:
- .rubocop_todo.yml
AllCops:
TargetRubyVersion: 2.6.3
Exclude:
- 'db/**/*'
- 'script/**/*'
- 'tmp/**/*'
- 'vendor/**/*'
- 'bin/**/*'
- 'node_modules/**/*'
Metrics/BlockLength:
Exclude:
- 'app/controllers/catalog_controller.rb'
- 'app/views/catalog/index.json.jbuilder'
- 'config/routes.rb'
- 'spec/**/*'
Rails/FilePath:
EnforcedStyle: arguments
Rails/ApplicationController:
Exclude:
- 'app/controllers/api/v1/rest_controller.rb'
RSpec/DescribeClass:
Exclude:
- 'spec/features/**/*'
- 'spec/integration/**/*'
RSpec/EmptyLineAfterSubject:
Exclude:
- 'spec/factories/work_versions.rb'
RSpec/LeakyConstantDeclaration:
Exclude:
- 'spec/models/permissions_builder_spec.rb'
RSpec/ExpectActual:
Exclude:
- 'spec/integration/qa/routing_spec.rb'