-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoct_rubocop.yml
70 lines (54 loc) · 1.02 KB
/
oct_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
require: rubocop-rspec
AllCops:
Exclude:
- '**/bin/*'
- '**/.pryrc'
- '**/bundle/**/*'
- '**/db/**/*'
- '**/lib/tasks/**/*'
- '**/Rakefile'
- '**/Guardfile'
- '**/Brewfile'
- 'bin/setup'
- 'bin/update'
DisplayCopNames: true
Rails:
Enabled: true
Style/ClassAndModuleChildren:
Enabled: false
Style/FrozenStringLiteralComment:
Enabled: false
Metrics/BlockLength:
Exclude:
- 'app/controllers/**/*'
- '**/spec/**/*'
- 'config/**/*'
Metrics/MethodLength:
Max: 15
RSpec/NestedGroups:
Max: 5
Style/SymbolArray:
Enabled: false
Metrics/AbcSize:
Max: 20
Style/Documentation:
Enabled: false
Layout/LineLength:
Max: 100
Layout/ParameterAlignment:
Enabled: true
EnforcedStyle: 'with_fixed_indentation'
Layout/HashAlignment:
Enabled: false
Layout/MultilineMethodCallIndentation:
EnforcedStyle: indented
Metrics/ClassLength:
Max: 150
Exclude:
- 'app/controllers/**/*'
RSpec/ContextWording:
Prefixes:
- when
- with
- without
- and