-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.rubocop.yml
74 lines (57 loc) · 1.18 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
AllCops:
TargetRubyVersion: 2.4
Exclude:
- .gems/**/*
- bin/**/*
- config/**/*
- db/**/*
- log/**/*
- public/**/*
- tmp/**/*
- vendor/**/*
- spec/rails_helper.rb
- spec/spec_helper.rb
- spec/**/*
- config.ru
- Guardfile
- Rakefile
- app/channels/**/*
Layout/EmptyLinesAroundBlockBody:
EnforcedStyle: no_empty_lines
Layout/EmptyLinesAroundClassBody:
EnforcedStyle: empty_lines
Layout/EmptyLinesAroundModuleBody:
EnforcedStyle: empty_lines
Layout/MultilineMethodCallIndentation:
Enabled: true
EnforcedStyle: indented
Lint/AmbiguousBlockAssociation:
Enabled: false
Metrics/AbcSize:
Max: 40
Exclude:
- app/controllers/**/*
Metrics/BlockLength:
Exclude:
- lib/tasks/**/*
Metrics/MethodLength:
Max: 15
Metrics/LineLength:
Enabled: false
Rails:
Enabled: true
Style/ClassAndModuleChildren:
EnforcedStyle: compact
Style/Documentation:
Enabled: false
Style/FrozenStringLiteralComment:
Enabled: false
Style/GuardClause:
Enabled: false
Style/PredicateName:
Exclude:
- lib/active_model_serializers_matchers/**/*
Style/SymbolArray:
EnforcedStyle: brackets
Style/WordArray:
Enabled: false