-
Notifications
You must be signed in to change notification settings - Fork 165
/
.rubocop.yml
57 lines (40 loc) · 919 Bytes
/
.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
AllCops:
TargetRubyVersion: 2.5 # keep in sync with .circleci/config.yml and gemspec
NewCops: enable
Style/EmptyMethod:
Enabled: false
Metrics:
Enabled: false
# not safe ... needs require 'English'
Style/SpecialGlobalVars:
Enabled: false
Layout/LineLength:
Max: 205 # TODO: lower
Style/Documentation:
Enabled: false
Naming/AccessorMethodName:
Enabled: false
Naming/MethodParameterName:
Enabled: false
Style/IfInsideElse:
Enabled: false
Style/GuardClause:
Enabled: false
Lint/NestedMethodDefinition:
Enabled: false
# TODO: fix
Style/StringConcatenation:
Enabled: false
Style/NumericPredicate:
EnforcedStyle: comparison
Style/IfUnlessModifier:
Enabled: false
Style/ClassAndModuleChildren:
Enabled: false
# TODO: enable ... somehow breaks tests
Style/HashEachMethods:
Enabled: false
Style/WordArray:
EnforcedStyle: brackets
Style/SymbolArray:
EnforcedStyle: brackets