-
Notifications
You must be signed in to change notification settings - Fork 14
/
.rubocop.yml
71 lines (70 loc) · 1.49 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
62
63
64
65
66
67
68
69
70
71
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/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
Style/ClassAndModuleChildren:
Enabled: false
Rails/Date:
Enabled: false
Rails/HelperInstanceVariable:
# this is temporary while I refactor the code from the helper to libs/concerns
Enabled: false
Lint/LiteralInInterpolation:
Enabled: false