forked from samvera/hydra-role-management
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop.yml
54 lines (44 loc) · 1.28 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
inherit_gem:
bixby: bixby_default.yml
AllCops:
TargetRubyVersion: 2.6
Bundler/DuplicatedGem:
Exclude:
- 'Gemfile'
Metrics/BlockLength:
Exclude:
- 'spec/controllers/roles_controller_spec.rb'
- 'spec/controllers/user_roles_controller_spec.rb'
- 'spec/lib/user_roles_spec.rb'
- 'spec/models/role_spec.rb'
- 'spec/routing/role_management_routes_spec.rb'
- hydra-role-management.gemspec
Layout/LineLength:
Exclude:
- ''
- 'lib/generators/roles/roles_generator.rb'
- 'spec/controllers/roles_controller_spec.rb'
- 'spec/controllers/user_roles_controller_spec.rb'
- 'spec/lib/user_roles_spec.rb'
- 'spec/routing/role_management_routes_spec.rb'
- 'spec/test_app_templates/config/initializers/hydra_config.rb'
Metrics/MethodLength:
Exclude:
- 'lib/generators/roles/roles_generator.rb'
Metrics/PerceivedComplexity:
Exclude:
- 'lib/generators/roles/roles_generator.rb'
Naming/FileName:
Exclude:
- 'Gemfile'
- 'hydra-role-management.gemspec'
- 'lib/hydra-role-management.rb'
Rails/HasAndBelongsToMany:
Exclude:
- 'app/models/concerns/hydra/role_management/user_roles.rb'
- 'app/models/role.rb'
RSpec/DescribeClass:
Exclude:
- 'spec/routing/role_management_routes_spec.rb'
Style/Documentation:
Enabled: false