forked from amckinnell/Gilded-Rose-Ruby
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop.yml
39 lines (30 loc) · 841 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
AllCops:
TargetRubyVersion: 2.2
Exclude:
- "bin/**/*"
- "spec/**/*"
- "lib/gilded_rose.rb"
Metrics/LineLength:
Max: 120
# We like to use the hash rocket in rake files.
Style/HashSyntax:
Exclude:
- "Rakefile"
# We will use double quotes everywhere.
Style/StringLiterals:
EnforcedStyle: double_quotes
# We are not going to optimize by freezing strings.
Style/MutableConstant:
Enabled: false
# We are not going to distinguish between fail and raise.
Style/SignalException:
Enabled: false
# We are not going to line up parameters that span more than one line.
Style/AlignParameters:
Enabled: false
# We are okay with using extend self instead of module_function.
Style/ModuleFunction:
Enabled: false
# We are going to skip top-level class documentation for katas.
Style/Documentation:
Enabled: false