forked from samvera/bulkrax
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop.yml
42 lines (34 loc) · 796 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
# Bixby coding conventions
# Added AllCops config for further modification
AllCops:
TargetRubyVersion: 2.4
DisabledByDefault: true
DisplayCopNames: true
Exclude:
- 'db/**/*'
- 'script/**/*'
- 'tmp/**/*'
- 'vendor/**/*'
- 'node_modules/**/*'
# Additions by Notch8
- 'spec/test_app/**/*'
- 'bin/*'
inherit_from: .rubocop_todo.yml
inherit_gem:
bixby: bixby_default.yml
# Notch8 coding conventions
# @see https://github.com/rubocop-hq/rubocop/blob/master/manual/configuration.md
Metrics/BlockLength:
Max: 495
Metrics/ModuleLength:
Exclude:
- 'spec/**/*'
Style/FrozenStringLiteralComment:
Exclude:
- 'spec/test_app/db/schema.rb'
Style/RedundantReturn:
Enabled: false
Style/RedundantSelf:
Enabled: false
RSpec/ExampleLength:
Max: 8