forked from exercism/DEPRECATED.x-api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.rubocop.yml
49 lines (48 loc) · 893 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
AllCops:
Exclude:
- 'problems/**/*'
- 'test/fixtures/**/*'
- 'bin/*'
- 'vendor/**/*'
Style/StringLiterals:
Enabled: false
Style/SpaceAroundEqualsInParameterDefault:
EnforcedStyle: no_space
Style/TrailingComma:
EnforcedStyleForMultiline: comma
Style/Blocks:
Enabled: false
Style/Documentation:
Exclude:
- 'test/**/*'
- 'lib/app.rb'
- 'lib/app/**/*'
Style/RaiseArgs:
Enabled: true
EnforcedStyle: compact
Style/AndOr:
Enabled: true
EnforcedStyle: conditionals
Style/FormatString:
Enabled: true
EnforcedStyle: percent
Lint/RescueException:
Exclude:
- 'lib/app/helpers/errors.rb'
Metrics/LineLength:
Max: 80
AllowURI: true
URISchemes:
- http
- https
Exclude:
- 'test/**/*'
Metrics/MethodLength:
Exclude:
- 'test/**/*'
Metrics/AbcSize:
Exclude:
- 'test/**/*'
Metrics/LineLength:
Exclude:
- 'test/**/*'