forked from etalab/rna_as_api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop.yml
49 lines (39 loc) · 820 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
AllCops:
TargetRubyVersion: 2.5.1
Exclude:
- 'vendor/**/*'
- 'Guardfile'
- 'db/migrate/*'
- 'bin/*'
- 'config/initializers/*'
Layout/LineLength:
Max: 120
Metrics/BlockLength:
Exclude:
- 'spec/*'
- 'spec/interactors/*'
- 'spec/jobs/*'
- 'spec/controllers/api/v1/*'
- 'db/schema.rb'
Metrics/MethodLength:
Max: 15
Exclude:
- 'app/jobs/unzip_file.rb'
Style/Documentation:
Enabled: false
Style/FrozenStringLiteralComment:
Enabled: false
Style/ClassAndModuleChildren:
EnforcedStyle: compact
Exclude:
- 'app/channels/**/*'
- 'config/application.rb'
Style/PercentLiteralDelimiters:
PreferredDelimiters:
default: '{}'
Style/HashEachMethods:
Enabled: true
Style/HashTransformKeys:
Enabled: true
Style/HashTransformValues:
Enabled: true