-
Notifications
You must be signed in to change notification settings - Fork 4
/
.rubocop.yml
59 lines (59 loc) · 1.16 KB
/
.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
54
55
56
57
58
59
inherit_mode:
merge:
- Exclude
require:
- rubocop-rails
AllCops:
Exclude:
- bin/puma
- bin/pumactl
- bin/setup
- bin/rainbows
- bin/unicorn
- bin/unicorn_rails
- bin/update
- bin/yarn
- vendor/bundle/**/*
TargetRubyVersion: 2.6
Layout/HashAlignment:
EnforcedHashRocketStyle: [ key, table ]
EnforcedColonStyle: [ key, table ]
Layout/LineLength:
Max: 200
Metrics:
Enabled: false
Naming/MethodParameterName:
MinNameLength: 2
Rails:
Enabled: true
Rails/DynamicFindBy:
# The models used in this code aren't actually ActiveRecord
Enabled: false
Style/AsciiComments:
AllowedChars: [ © ]
Style/Documentation:
Enabled: false
Style/DoubleNegation:
Enabled: false
Style/ClassAndModuleChildren:
Enabled: false
Style/MethodCallWithArgsParentheses:
Enabled: true
IgnoredMethods:
- desc
- gem
- include
- require
- require_relative
- ruby
- raise
- source
- throw
Exclude:
- "**/*.xml.builder"
Style/SymbolArray:
MinSize: 6
Style/TrailingCommaInArrayLiteral:
EnforcedStyleForMultiline: consistent_comma
Style/TrailingCommaInHashLiteral:
EnforcedStyleForMultiline: consistent_comma