-
-
Notifications
You must be signed in to change notification settings - Fork 269
/
.rubocop.yml
45 lines (40 loc) · 965 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
inherit_from: .rubocop_todo.yml
inherit_gem:
rubocop-lts: rubocop-lts.yml
require:
# See: https://github.com/rubocop/rubocop-md/issues/14
# - 'rubocop-md'
- 'rubocop-minitest'
- 'rubocop-packaging'
- 'rubocop-performance'
- 'rubocop-rake'
- 'rubocop-thread_safety'
AllCops:
DisplayCopNames: true # Display the name of the failing cops
Layout/DotPosition:
Enabled: true
EnforcedStyle: trailing
Metrics/BlockLength:
IgnoredMethods:
- context
- describe
- it
- shared_context
- shared_examples
- shared_examples_for
Style/StringLiterals:
Enabled: true
EnforcedStyle: double_quotes
Style/StringLiteralsInInterpolation:
Enabled: true
EnforcedStyle: double_quotes
Lint/RaiseException: # (0.81)
Enabled: true
Lint/StructNewOverride: # (0.81)
Enabled: true
Style/HashEachMethods: # (0.80)
Enabled: true
Style/HashTransformKeys: # (0.80)
Enabled: true
Style/HashTransformValues: # (0.80)
Enabled: true