-
Notifications
You must be signed in to change notification settings - Fork 2
/
.rubocop.yml
53 lines (37 loc) · 1009 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
50
51
52
53
# Run rubocop on your git diff with the following command:
# $ git diff --name-only develop_X.X.0 | xargs rubocop
AllCops:
TargetRubyVersion: 2.3.7
# Test specific exceptions
Lint/AmbiguousRegexpLiteral:
Exclude:
- 'features/step_definitions/*'
# Rules that are not enforced across the codebase nor during code review
Metrics:
Enabled: false
Metrics/LineLength:
Max: 120
Enabled: true
Style/Documentation:
Enabled: false
Style/FrozenStringLiteralComment:
Enabled: false
Style/ClassAndModuleChildren:
Enabled: false
Style/CommentedKeyword:
Enabled: false
Style/RaiseArgs:
Enabled: false
Naming/AccessorMethodName:
Enabled: false
# We use 'fail' instead of 'raise' across the codebase - this suppresses the warning
Style/SignalException:
Enabled: false
Style/RegexpLiteral:
Enabled: false
Lint/UriEscapeUnescape:
Enabled: false
Layout/ArgumentAlignment:
EnforcedStyle: with_fixed_indentation
Layout/MultilineMethodCallIndentation:
EnforcedStyle: indented