forked from omniauth/omniauth_openid_connect
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop.yml
61 lines (44 loc) · 1.06 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
Gemspec/RequiredRubyVersion:
Enabled: false
LineLength:
Description: 'Limit lines to 130 characters.'
Max: 130
Layout/SpaceInsideStringInterpolation:
Enabled: false
Layout/MultilineOperationIndentation:
EnforcedStyle: indented
StringLiterals:
EnforcedStyle: single_quotes
Style/TrailingCommaInArrayLiteral:
EnforcedStyleForMultiline: comma
Style/TrailingCommaInHashLiteral:
EnforcedStyleForMultiline: comma
Style/SafeNavigation:
Enabled: false
Style/EmptyMethod:
Description: 'Checks the formatting of empty method definitions.'
StyleGuide: '#no-single-line-methods'
Enabled: false
HashSyntax:
Description: "Prefer Ruby 1.9 hash syntax { a: 1, b: 2 } over 1.8 syntax\n{ :a => 1, :b => 2 }"
EnforcedStyle: ruby19
Enabled: true
RedundantBegin:
Enabled: true
Documentation:
Enabled: false
Metrics/AbcSize:
Max: 60
Metrics/ClassLength:
Max: 300
Metrics/CyclomaticComplexity:
Max: 50
Metrics/PerceivedComplexity:
Max: 15
Metrics/BlockLength:
Max: 40
Metrics/MethodLength:
Max: 45
AllCops:
Exclude:
- vendor/bundle/**/*