-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop_todo.yml
66 lines (47 loc) · 1021 Bytes
/
.rubocop_todo.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
Bundler/OrderedGems:
Exclude:
- 'Gemfile'
Metrics/AbcSize:
Max: 51
Metrics/BlockLength:
Max: 74
Metrics/ClassLength:
Max: 180
Metrics/ModuleLength:
Max: 180
Metrics/CyclomaticComplexity:
Max: 9
Metrics/MethodLength:
Max: 40
Metrics/PerceivedComplexity:
Max: 9
Style/ClassAndModuleChildren:
Enabled: true
Style/Documentation:
Enabled: false
Style/ExpandPathArguments:
Exclude:
- 'bin/bundle'
Style/FrozenStringLiteralComment:
Enabled: false
Style/HashSyntax:
Description: >-
Prefer Ruby 1.9 hash syntax { a: 1, b: 2 } over 1.8 syntax
{ :a => 1, :b => 2 }.
StyleGuide: '#hash-literals'
Enabled: true
EnforcedStyle: ruby19
UseHashRocketsWithSymbolValues: false
PreferHashRocketsForNonAlnumEndingSymbols: false
Style/IfUnlessModifier:
Exclude:
- 'bin/bundle'
Style/PerlBackrefs:
Exclude:
- 'bin/bundle'
Style/StringLiterals:
Enabled: true
Style/SymbolArray:
EnforcedStyle: brackets
Layout/LineLength:
Max: 198