-
Notifications
You must be signed in to change notification settings - Fork 1
/
.rubocop.yml
66 lines (51 loc) · 1.07 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
require: rubocop-rspec
AllCops:
Include:
- '**/*.gemspec'
- '**/Rakefile'
Exclude:
- 'vendor/**'
- 'db/schema.rb'
- 'bin/**'
RunRailsCops: true
Style/AlignParameters:
EnforcedStyle: with_fixed_indentation
Style/BracesAroundHashParameters:
EnforcedStyle: context_dependent
Style/SpaceInsideHashLiteralBraces:
EnforcedStyle: no_space
Style/RaiseArgs:
EnforcedStyle: compact
Style/Documentation:
Enabled: false
Style/SpaceInsideBlockBraces:
EnforcedStyle: space
EnforcedStyleForEmptyBraces: no_space
SpaceBeforeBlockParameters: false
Style/SignalException:
EnforcedStyle: only_raise
Style/CaseIndentation:
IndentWhenRelativeTo: end
SupportedStyles:
- case
- end
IndentOneStep: true
Style/ClassAndModuleChildren:
Enabled: false
Metrics/LineLength:
Exclude:
- '**/*_spec.rb'
- 'spec/factories.rb'
- 'config/**/*'
- 'db/**/*'
Metrics/MethodLength:
Exclude:
- 'db/**/*'
Style/Semicolon:
Exclude:
- '**/*_spec.rb'
Style/RescueModifier:
Exclude:
- '**/*_spec.rb'
Metrics/ClassLength:
Max: 200