forked from exercism/exercism
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop.yml
43 lines (42 loc) · 908 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
inherit_from: .rubocop_todo.yml
AllCops:
TargetRubyVersion: 2.2
Exclude:
- 'frontend/**/*'
- 'vendor/**/*'
- 'test/**/*'
- 'node_modules/**/*'
Style/IfUnlessModifier:
Enabled: false
Style/DoubleNegation:
Enabled: false
Style/StringLiterals:
Enabled: false
Style/SpaceAroundEqualsInParameterDefault:
EnforcedStyle: no_space
Style/TrailingCommaInLiteral:
EnforcedStyleForMultiline: comma
Style/RaiseArgs:
Enabled: true
EnforcedStyle: compact
Style/AndOr:
Enabled: true
EnforcedStyle: conditionals
Style/FormatString:
Enabled: true
EnforcedStyle: percent
Metrics/LineLength:
Enabled: false # TODO: Remove this after all linelength offenses are worked out
Max: 80
AllowURI: true
URISchemes:
- http
- https
Style/DotPosition:
Enabled: true
EnforcedStyle: leading
SupportedStyles:
- leading
- trailing
Performance/TimesMap:
Enabled: false