forked from blindsidenetworks/scalelite
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop.yml
61 lines (61 loc) · 1.25 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
60
61
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: 128
Metrics:
Enabled: false
Naming/AccessorMethodName:
Exclude:
- app/controllers/bigbluebutton_api_controller.rb
Naming/PredicateName:
Exclude:
- app/controllers/bigbluebutton_api_controller.rb
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/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