-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.rubocop_be_pedantic.yml
120 lines (83 loc) · 2.01 KB
/
.rubocop_be_pedantic.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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
# Enable, or try enabling, every single cop and see what happens:
## Not useful in a Gem, where the primary record of gems is the gemspec
#Bundler/GemComment:
# Enabled: true
Layout/ClassStructure:
Enabled: true
Layout/FirstArrayElementLineBreak:
Enabled: true
Layout/FirstHashElementLineBreak:
Enabled: true
Layout/FirstMethodArgumentLineBreak:
Enabled: true
Layout/FirstMethodParameterLineBreak:
Enabled: true
Layout/HeredocArgumentClosingParenthesis:
Enabled: true
Layout/MultilineArrayLineBreaks:
Enabled: true
Layout/MultilineAssignmentLayout:
Enabled: true
Layout/MultilineHashKeyLineBreaks:
Enabled: true
Layout/MultilineMethodArgumentLineBreaks:
Enabled: true
## Might want to look into this one, sounds important, but flags EVERYTHING
#Lint/ConstantResolution:
# Enabled: true
Lint/HeredocMethodCallPosition:
Enabled: true
Lint/NumberConversion:
Enabled: true
Performance/CaseWhenSplat:
Enabled: true
Performance/IoReadlines:
Enabled: true
Performance/OpenStruct:
Enabled: true
Style/AsciiComments:
Enabled: true
Style/AutoResourceCleanup:
Enabled: true
Style/CollectionMethods:
Enabled: true
Style/ConstantVisibility:
Enabled: true
## What even is this
#Style/Copyright:
# Enabled: true
Style/DateTime:
Enabled: true
Style/DisableCopsWithinSourceCodeDirective:
Enabled: true
Style/DocumentationMethod:
Enabled: true
Style/ImplicitRuntimeError:
Enabled: true
## Annoying and don't see any justification
#Style/InlineComment:
# Enabled: true
# Exclude:
# - 'test/**'
Style/IpAddresses:
Enabled: true
## Isn't that the fun of Ruby?
#Style/MethodCallWithArgsParentheses:
# Enabled: true
Style/MethodCalledOnDoEndBlock:
Enabled: true
Style/MultilineMethodSignature:
Enabled: true
Style/OptionHash:
Enabled: true
Style/ReturnNil:
Enabled: true
Style/SingleLineBlockParams:
Enabled: true
## You legit need these sometimes!
#Style/StringHashKeys:
# Enabled: true
Style/StringMethods:
Enabled: true
Style/TrailingCommaInBlockArgs:
Enabled: true